WordPress at a glance
filter is not described

get_header_image_tag filter-hook . WP 4.4.0

Filters the markup of header images.


add_filter( 'get_header_image_tag', 'filter_function_name_9025', 10, 3 );
function filter_function_name_9025( $html, $header, $attr ){
	// filter...

	return $html;
The HTML image tag markup being filtered.
The custom header object returned by 'get_custom_header()'.
Array of the attributes for the image tag.

Where the hook is called

wp-includes/theme.php 1135
return apply_filters( 'get_header_image_tag', $html, $header, $attr );

Where the hook is used (in WP core)

Использование не найдено.