A WordPress-centric search engine for devs and theme authors



attachment_innerhtml ›

Since2.0.0
Deprecated
apply_filters('attachment_innerHTML', $innerHTML, $post->ID)
Parameters: (3)
  • (int) $id Optional. Post ID.
    Required: Yes
  • (bool) $fullsize Optional, default to false. Whether to have full size image.
    Required: Yes
  • (array) $max_dims Optional. Dimensions of image.
    Required: Yes
See:
  • wp_get_attachment_image()
Returns:
  • ()
Defined at:
Codex:

Retrieve HTML content of icon attachment image element.





Source

return apply_filters('attachment_innerHTML', $innerHTML, $post->ID);