stylesheet_directory_uri хук-фильтр . WP 1.5.0
Filters the stylesheet directory URI.
Использование
add_filter( 'stylesheet_directory_uri', 'filter_function_name_1712', 10, 3 ); function filter_function_name_1712( $stylesheet_dir_uri, $stylesheet, $theme_root_uri ){ // filter... return $stylesheet_dir_uri; }
- $stylesheet_dir_uri(строка)
- Stylesheet directory URI.
- $stylesheet(строка)
- Name of the activated theme's directory.
- $theme_root_uri(строка)
- Themes root URI.
Список изменений
С версии 1.5.0 | Введена. |
Где вызывается хук
stylesheet_directory_uri
wp-includes/theme.php 229
return apply_filters( 'stylesheet_directory_uri', $stylesheet_dir_uri, $stylesheet, $theme_root_uri );