has_header_image ( No parameters )
has_header_image函数返回一个布尔值,如果当前主题支持自定义头像,则为真,否则为假: 这个函数通常用于确定是否显示一个界面让用户上传或更改自定义的头像。
检查是否设置了标题图片。
function has_header_image() { return (bool) get_header_image(); }