A WordPress-centric search engine for devs and theme authors



style_loader_tag ›

Since4.5.0
Deprecatedn/a
apply_filters( 'style_loader_tag', "\n", $handle, $href, $media )
Parameters: (4)
  • (string) $html The link tag for the enqueued style.
    Required: No
    Default:
  • (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', "<link rel='$rel' id='$handle-css' $title href='$href' type='text/css' media='$media' />\n", $handle, $href, $media );