the_header_image_tag

函数
the_header_image_tag ( $attr = array() )
参数
  • (array) $attr Optional. Attributes for the image markup. Default empty.
    Required:
    Default: array()
定义位置
相关方法
get_header_image_tagget_header_imagehas_header_imageheader_imagethe_header_video_url
引入
4.4.0
弃用
-

the_header_image_tag – 这个函数用来输出当前WordPress站点的头像的HTML图像标签。

显示自定义头像的图像标记。

function the_header_image_tag( $attr = array() ) {
	echo get_header_image_tag( $attr );
}

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2026-01-29 10:09:36

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: