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

Filters the markup of header images.

Parameters

$html

(string) The HTML image tag markup being filtered.

$header

(object) The custom header object returned by 'get_custom_header()'.

$attr

(array) Array of the attributes for the image tag.

Source

File: wp-includes/theme.php

View on Trac

Changelog

Version Description
4.4.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_header_image_tag