get_header_image_tag
get_header_image_tag ( $attr = array() )
Parameters:- (array) attr Optional. Additional attributes for the image tag. Can be used to override the default attributes. Default empty.
Returns:- (string) HTML image element markup or empty string on failure.
Defined at: - Introduced in WordPress: 4.4.0
- Deprecated in WordPress: —
Description
Creates image tag markup for a custom header image.