On this page
apply_filters( 'style_loader_tag', string $tag, string $handle, string $href, string $media )
Filters the HTML link tag of an enqueued style.
Parameters
$tagstring-
The link tag for the enqueued style.
$handlestring-
The style's registered handle.
$hrefstring-
The stylesheet's source URL.
$mediastring-
The stylesheet's media attribute.
Source
File: wp-includes/class-wp-styles.php. View all references
$tag = apply_filters( 'style_loader_tag', $tag, $handle, $href, $media );
Related
Used By
| Used By | Description |
|---|---|
| WP_Styles::do_item() wp-includes/class-wp-styles.php | Processes a style dependency. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/style_loader_tag