the_header_image_tag( array $attr = array() )
Display the image markup for a custom header image.
Description Description
Parameters Parameters
- $attr
-
(array) (Optional) Attributes for the image markup.
Default value: array()
Source Source
File: wp-includes/theme.php
function the_header_image_tag( $attr = array() ) { echo get_header_image_tag( $attr ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Add a class to the resulting img like this: