Displays the image markup for a custom header image.
Parameters
$attr
arrayoptional- Attributes for the image markup.
Default:
array()
Source
function the_header_image_tag( $attr = array() ) {
echo get_header_image_tag( $attr );
}
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
Add a class to the resulting img like this: