apply_filters( 'style_loader_tag', string $html , string $handle , string $href , string $media )
Filters the HTML link tag of an enqueued style.
Parameters
- $html
-
The link tag for the enqueued style.
- $handle
-
The style's registered handle.
- $href
-
The stylesheet's source URL.
- $media
-
The stylesheet's media attribute.
Source
Changelog
Version | Description |
---|---|
WP-4.5.0 | Introduced the $media parameter. |
WP-4.3.0 | Introduced the $href parameter. |
WP-2.6.0 | Introduced. |