WordPress at a glance
filter is not described

is_header_video_active filter-hook . WP 4.7.0

Filters whether the custom header video is eligible to show on the current page.


add_filter( 'is_header_video_active', 'filter_function_name_715' );
function filter_function_name_715( $show_video ){
	// filter...

	return $show_video;
Whether the custom header video should be shown. Returns the value of the theme setting for the custom-header's video-active-callback. If no callback is set, the default value is that of is_front_page().

Список изменений

С версии 4.7.0 Введена.

Где вызывается хук

wp-includes/theme.php 1649
return apply_filters( 'is_header_video_active', $show_video );

Где используется хук в ядре WP

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