On this page
apply_filters( 'stylesheet_directory', string $stylesheet_dir, string $stylesheet, string $theme_root )
Filters the stylesheet directory path for the active theme.
Parameters
$stylesheet_dirstring-
Absolute path to the active theme.
$stylesheetstring-
Directory name of the active theme.
$theme_rootstring-
Absolute path to themes directory.
Source
File: wp-includes/theme.php. View all references
return apply_filters( 'stylesheet_directory', $stylesheet_dir, $stylesheet, $theme_root );
Related
Used By
| Used By | Description |
|---|---|
| get_stylesheet_directory() wp-includes/theme.php | Retrieves stylesheet directory path for the active theme. |
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/stylesheet_directory