WordPress at a glance
filter is not described

stylesheet_directory filter-hook . WP 1.5.0

Filters the stylesheet directory path for current theme.


add_filter( 'stylesheet_directory', 'filter_function_name_7613', 10, 3 );
function filter_function_name_7613( $stylesheet_dir, $stylesheet, $theme_root ){
	// filter...

	return $stylesheet_dir;
Absolute path to the current theme.
Directory name of the current theme.
Absolute path to themes directory.

Where the hook is called

wp-includes/theme.php 200
return apply_filters( 'stylesheet_directory', $stylesheet_dir, $stylesheet, $theme_root );

Where the hook is used (in WP core)

Использование не найдено.