Uses
| Uses | Description |
|---|---|
| wp-includes/theme.php: get_header_image_tag() | Creates image tag markup for a custom header image. |
Displays the image markup for a custom header image.
(array) (Optional) Attributes for the image markup.
Default value: array()
File: wp-includes/theme.php
function the_header_image_tag( $attr = array() ) {
echo get_header_image_tag( $attr );
} | Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_header_image_tag