is_header_video_active
最后更新于:2021-11-27 02:17:44
apply_filters( ‘is_header_video_active’, bool $show_video )
Filters whether the custom header video is eligible to show on the current page.
参数
- $show_video
-
(bool)
Whether the custom header video should be shown. 响应s the value of the theme setting for thecustom-header
‘svideo-active-callback
. If no callback is set, the default value is that ofis_front_page()
.
源文件
文件: gc-includes/theme.php