wpseek.com
A WordPress-centric search engine for devs and theme authors



style_loader_tag › WordPress Filter Hooks

Since4.5.0
Deprecatedn/a
apply_filters( 'style_loader_tag', $tag, $handle, $href, $media )
Parameters: (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
Defined at:
Codex:

Filters the HTML link tag of an enqueued style.





Source

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