is_header_video_active()
is_header_video_active()
检查自定义页眉视频是否符合在当前页上显示的条件。
Checks whether the custom header video is eligible to show on the current page.
返回(Return)
(bool)如果应显示自定义头视频,则为True。如果不是,就错了。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.7.0 | wp-includes/theme.php:1533 | 2 | 3 |
is_header_video_active() 为WP2原创文章,链接:https://www.wp2.cn/functions/is_header_video_active/