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