get_attachment_innerhtml


get_attachment_innerhtml ( $id = 0, $fullsize = false, $max_dims = false )

Parameters:
  • (int) $id Optional. Post ID.
  • (bool) $fullsize Optional, default to false. Whether to have full size image.
  • (array) $max_dims Optional. Dimensions of image.
See:
Returns:
  • (false|string)
Defined at:

Description

Retrieve HTML content of image element.

Related Functions

get_attachment_icon, get_attachment_link, get_attachment_template, get_attachment_icon_src, wp_get_attachment_url

Top Google Results

User discussions

wpseek mobile