函数原型
has_header_video(): bool
函数描述
Checks whether a header video is set or not.
是否弃用
未弃用
函数参数
无
函数返回值
bool Whether a header video is set or not.
函数位置
File: wp-includes/theme.php.
函数源码
function has_header_video() {
return (bool) get_header_video_url();
}
源码链接
变更日志
Changelog| Version | Description |
|---|
| 4.7.0 | Introduced. |