the_header_image_tag()
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() the header image tag code WP 6.5.2
function the_header_image_tag( $attr = array() ) { echo get_header_image_tag( $attr ); }