apply_filters( ‘get_header_image_tag_attributes’, array $attr, object $header )

In this article

Filters the list of header image attributes.

Parameters

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

Source

$attr = apply_filters( 'get_header_image_tag_attributes', $attr, $header );

Changelog

VersionDescription
5.9.0Introduced.

User Contributed Notes

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