W3cubDocs

/WordPress

apply_filters( ‘stylesheet_uri’, string $stylesheet_uri, string $stylesheet_dir_uri )

Filters the URI of the active theme stylesheet.

Parameters

$stylesheet_uristring
Stylesheet URI for the active theme/child theme.
$stylesheet_dir_uristring
Stylesheet directory URI for the active theme/child theme.

Source

return apply_filters( 'stylesheet_uri', $stylesheet_uri, $stylesheet_dir_uri );

Changelog

Version Description
1.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/stylesheet_uri