wpseek.com
WordPress开发者和主题制作者的搜索引擎



get_header_image_tag_attributes › WordPress过滤钩子

Since5.9.0
已弃用n/a
› apply_filters( 'get_header_image_tag_attributes', $attr, $header )
参数: (2)
  • () attr Array of the attributes for the image tag.
    Required: Yes
  • () header The custom header object returned by 'get_custom_header()'.
    Required: Yes
定义在:
文档:

Filters the list of header image attributes.





源码

$attr = apply_filters( 'get_header_image_tag_attributes', $attr, $header );