get_header_image_tag

get_header_image_tag

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('get_header_image_tag') is found 1 times:

  • /wp-includes/theme.php line 1360
    1356
    1357
    1358
    1359
    1360
    1361
    1362
    1363
    1364
    1365
    1366
         * @param string $html   The HTML image tag markup being filtered.
         * @param object $header The custom header object returned by 'get_custom_header()'.
         * @param array  $attr   Array of the attributes for the image tag.
         */
        return apply_filters( 'get_header_image_tag', $html, $header, $attr );
    }
     
    /**
     * Displays the image markup for a custom header image.
     *
     * @since 4.4.0