W3cubDocs

/WordPress

apply_filters( ‘stylesheet’, string $stylesheet )

Filters the name of current stylesheet.

Parameters

$stylesheetstring
Name of the current stylesheet.

Source

return apply_filters( 'stylesheet', get_option( 'stylesheet' ) );

Changelog

Version Description
1.5.0 Introduced.

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