On this page
apply_filters( 'style_loader_src', string $src, string $handle )
Filters an enqueued style’s fully-qualified URL.
Parameters
$srcstring-
The source URL of the enqueued style.
$handlestring-
The style's registered handle.
Source
File: wp-includes/class-wp-styles.php. View all references
$src = apply_filters( 'style_loader_src', $src, $handle );
Related
Used By
| Used By | Description |
|---|---|
| WP_Styles::_css_href() wp-includes/class-wp-styles.php | Generates an enqueued style’s fully-qualified URL. |
Changelog
| Version | Description |
|---|---|
| 2.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/style_loader_src