A WordPress-centric search engine for devs and theme authors



get_header_image_tag ›

Since4.4.0
Deprecatedn/a
apply_filters( 'get_header_image_tag', $html, $header, $attr )
Parameters: (3)
  • (string) $html The HTML image tag markup being filtered.
    Required: Yes
  • (object) $header The custom header object returned by 'get_custom_header()'.
    Required: Yes
  • (array) $attr Array of the attributes for the image tag.
    Required: Yes
Defined at:
Codex:

Filters the markup of header images.





Source

return apply_filters( 'get_header_image_tag', $html, $header, $attr );