get_attachment_innerhtml


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

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

Description

Retrieve HTML content of image element.

Related Functions

get_attachment_icon, get_attachment_link, get_attachment_icon_src, get_attachment_template, wp_get_attachment_url

Top Google Results

User discussions

wpseek mobile