get_header_image_tag
apply_filters( ‘get_header_image_tag’, string $html , object $header , array $attr )
过滤器::过滤头图像的标记。
Filter Hook: Filters the markup of header images.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$html | (string) | 正在筛选的HTML图像标记标记。 |
$header | (object) | “get_custom_header()”返回的自定义头对象。 |
$attr | (array) | 图像标记的属性数组。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.4.0 | wp-includes/theme.php:1157 | 1 | 0 |
get_header_image_tag 为WP2原创文章,链接:https://www.wp2.cn/hook/get_header_image_tag-2/