the_header_image_tag()WP 4.4.0

Displays the image markup for a custom header image.

No Hooks.

Return

null. Nothing (null).

Usage

the_header_image_tag( $attr );
$attr(array)
Attributes for the image markup.
Default: ''

Changelog

Since 4.4.0 Introduced.

the_header_image_tag() code WP 6.6

function the_header_image_tag( $attr = array() ) {
	echo get_header_image_tag( $attr );
}