wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
get_stylesheet_uri › WordPress Function
Seit1.5.0
Veraltetn/v
› get_stylesheet_uri ( Keine Parameter )
| Gibt zurück: |
|
| Definiert in: |
|
| Codex: |
Retrieves stylesheet URI for the active theme.
The stylesheet file name is 'style.css' which is appended to the stylesheet directory URI path. See get_stylesheet_directory_uri().Ähnliche Funktionen: get_stylesheet, get_locale_stylesheet_uri, get_stylesheet_directory_uri, get_stylesheet_directory, get_theme_root_uri
Quellcode
function get_stylesheet_uri() {
$stylesheet_dir_uri = get_stylesheet_directory_uri();
$stylesheet_uri = $stylesheet_dir_uri . '/style.css';
/**
* Filters the URI of the active theme stylesheet.
*
* @since 1.5.0
*
* @param string $stylesheet_uri Stylesheet URI for the active theme/child theme.
* @param string $stylesheet_dir_uri Stylesheet directory URI for the active theme/child theme.
*/
return apply_filters( 'stylesheet_uri', $stylesheet_uri, $stylesheet_dir_uri );
}