the_header_image_tag

The timeline below displays how wordpress function the_header_image_tag has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.5

/**
 * Displays the image markup for a custom header image.
 *
 * @since 4.4.0
 *
 * @param array $attr Optional. Attributes for the image markup. Default empty.
 */
function the_header_image_tag($attr = array())
{
    echo get_header_image_tag($attr);
}

WordPress Version: 4.4

/**
 * Display the image markup for a custom header image.
 *
 * @since 4.4.0
 *
 * @param array $attr Optional. Attributes for the image markup. Default empty.
 */
function the_header_image_tag($attr = array())
{
    echo get_header_image_tag($attr);
}