wordpress / latest / hooks / stylesheet_directory.html

apply_filters( 'stylesheet_directory', string $stylesheet_dir, string $stylesheet, string $theme_root )

Filters the stylesheet directory path for the active theme.

Parameters

$stylesheet_dir string
Absolute path to the active theme.
$stylesheet string
Directory name of the active theme.
$theme_root string
Absolute path to themes directory.

Source

File: wp-includes/theme.php. View all references

return apply_filters( 'stylesheet_directory', $stylesheet_dir, $stylesheet, $theme_root );

Used By

Used By Description

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