apply_filters( 'is_header_video_active', bool $show_video )

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


Description Description


Parameters Parameters

$show_video

(bool) 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().


Top ↑

Source Source

File: wp-includes/theme.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.