File: wp-includes/class-wp-theme.php
-
methodWP_Theme::is_allowed()
Determines whether the theme is allowed (multisite only).
-
Returns the URL to the directory of a theme’s “stylesheet” files.
-
Returns the URL to the directory of a theme’s “template” files.
-
Returns the absolute path to the directory of the theme root.
-
Returns the URL to the directory of the theme root.
-
Returns the main screenshot file for the theme.
-
Marks up a theme header.
-
methodWP_Theme::get_files()
Returns files in the theme’s directory.
-
Translates a theme header.
-
Returns the theme’s post templates for a given post type.
-
Returns the directory name of the theme’s “stylesheet” files, inside the theme root.
-
Filters list of page templates for a theme.
-
methodWP_Theme::parent()
Returns reference to the parent theme.
-
methodWP_Theme::cache_add()
Adds theme data to cache.
-
methodWP_Theme::__toString()
When converting the object to a string, the theme name is returned.
-
methodWP_Theme::cache_get()
Gets theme data from cache.
-
methodWP_Theme::__isset()
__isset() magic method for properties formerly returned by current_theme_info()
-
methodWP_Theme::cache_delete()
Clears the cache for the theme.
-
methodWP_Theme::__get()
__get() magic method for properties formerly returned by current_theme_info()
-
methodWP_Theme::get()
Gets a raw, unformatted theme header.
-
methodWP_Theme::offsetSet()
-
methodWP_Theme::display()
Gets a theme header, formatted and translated for display.
-
methodWP_Theme::offsetUnset()
-
Sanitizes a theme header.
-
methodWP_Theme::offsetExists()
-
methodWP_Theme::offsetGet()
-
methodWP_Theme::errors()
Returns errors property.
-
methodWP_Theme::exists()
Determines whether the theme exists.
-
classWP_Theme
WP_Theme Class
-
methodWP_Theme::__construct()
Constructor for WP_Theme.