has_custom_header()
has_custom_header()
检查是否设置了自定义头。
Check whether a custom header is set or not.
返回(Return)
(bool)如果设置了自定义头,则为True。如果不是,就错了。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.7.0 | wp-includes/theme.php:1518 | 1 function | 3 |
has_custom_header() 为WP2原创文章,链接:https://www.wp2.cn/functions/has_custom_header/