apply_filters( ‘stylesheet_directory’, string $stylesheet_dir, string $stylesheet, string $theme_root )

In this article

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

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

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.