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



style_loader_tag › WordPress过滤钩子

Since4.5.0
已弃用n/a
apply_filters( 'style_loader_tag', $tag, $handle, $href, $media )
参数: (4)
  • (string) $tag The link tag for the enqueued style.
    Required: Yes
  • (string) $handle The style's registered handle.
    Required: Yes
  • (string) $href The stylesheet's source URL.
    Required: Yes
  • (string) $media The stylesheet's media attribute.
    Required: Yes
定义在:
文档:

Filters the HTML link tag of an enqueued style.





源码

$tag = apply_filters( 'style_loader_tag', $tag, $handle, $href, $media );