File: wp-includes/theme.php
-
functionswitch_theme()
Switches the theme.
-
hookswitch_theme
Fires after the theme is switched.
-
functionregister_theme_directory()
Registers a directory that contains themes.
-
hookstylesheet_uri
Filters the URI of the active theme stylesheet.
-
functionsearch_theme_directories()
Searches all registered theme directories for complete and valid themes.
-
functionget_locale_stylesheet_uri()
Retrieves the localized stylesheet URI.
-
Filters the localized stylesheet URI.
-
functionget_template()
Retrieves name of the active theme.
-
hooktemplate
Filters the name of the active theme.
-
hookstylesheet
Filters the name of current stylesheet.
-
functionget_template_directory()
Retrieves template directory path for the active theme.
-
functionget_stylesheet_directory()
Retrieves stylesheet directory path for the active theme.
-
Filters the active theme directory path.
-
Filters the stylesheet directory path for the active theme.
-
functionget_template_directory_uri()
Retrieves template directory URI for the active theme.
-
functionget_stylesheet_directory_uri()
Retrieves stylesheet directory URI for the active theme.
-
Filters the active theme directory URI.
-
Filters the stylesheet directory URI.
-
functionget_theme_roots()
Retrieves theme roots.
-
functionget_stylesheet_uri()
Retrieves stylesheet URI for the active theme.
-
functionwp_get_themes()
Returns an array of WP_Theme objects based on the arguments.
-
functionwp_get_theme()
Gets a WP_Theme object for a theme.
-
functionwp_clean_themes_cache()
Clears the cache held by get_theme_roots() and WP_Theme.
-
functionis_child_theme()
Whether a child theme is in use.
-
functionget_stylesheet()
Retrieves name of the current stylesheet.