Filters whether the custom header video is eligible to show on the current page.
$show_videobool
custom-header‘s video-active-callback.is_front_page().return apply_filters( 'is_header_video_active', $show_video );
| Version | Description |
|---|---|
| 4.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/is_header_video_active