apply_filters( ‘get_header_image_tag’, string $html, object $header, array $attr )

In this article

Filters the markup of header images.

Parameters

$htmlstring
The HTML image tag markup being filtered.
$headerobject
The custom header object returned by ‘get_custom_header() ‘.
$attrarray
Array of the attributes for the image tag.

Source

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

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.