apply_filters( 'stylesheet_directory', string $stylesheet_dir, string $stylesheet, string $theme_root )
Filters the stylesheet directory path for current theme.
Parameters
- $stylesheet_dir
-
(string) Absolute path to the current theme.
- $stylesheet
-
(string) Directory name of the current theme.
- $theme_root
-
(string) Absolute path to themes directory.
Source
File: wp-includes/theme.php
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/stylesheet_directory