On this page
apply_filters( 'is_header_video_active', bool $show_video )
Filters whether the custom header video is eligible to show on the current page.
Parameters
$show_videobool-
Whether the custom header video should be shown. Returns the value of the theme setting for the
custom-header'svideo-active-callback.
If no callback is set, the default value is that ofis_front_page().
Source
File: wp-includes/theme.php. View all references
return apply_filters( 'is_header_video_active', $show_video );
Related
Used By
| Used By | Description |
|---|---|
| is_header_video_active() wp-includes/theme.php | Checks whether the custom header video is eligible to show on the current page. |
Changelog
| Version | Description |
|---|---|
| 4.7.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/is_header_video_active