WordPress.org

  • Showcase
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/class-wp-theme.php

theme_templates

Filter Hook: Filters list of page templates for a theme.

Source: wp-includes/class-wp-theme.php:1206

Used by 1 function | Uses 0 functions

theme_scandir_exclusions

Filter Hook: Filters the array of excluded directories and files while scanning theme folder.

Source: wp-includes/class-wp-theme.php:1269

Used by 1 function | Uses 0 functions

WP_Theme::get_post_templates()

Method: Returns the theme’s post templates.

Source: wp-includes/class-wp-theme.php:1129

Used by 1 function | Uses 8 functions

theme_{$post_type}_templates

Filter Hook: Filters list of page templates for a theme.

Source: wp-includes/class-wp-theme.php:1223

Used by 1 function | Uses 0 functions

WP_Theme::network_enable_theme()

Method: Enables a theme for all sites on the current network.

Source: wp-includes/class-wp-theme.php:1516

Used by 0 functions | Uses 3 functions

WP_Theme::network_disable_theme()

Method: Disables a theme for all sites on the current network.

Source: wp-includes/class-wp-theme.php:1540

Used by 1 function | Uses 3 functions

site_allowed_themes

Filter Hook: Filters the array of themes allowed on the site.

Source: wp-includes/class-wp-theme.php:1455

Used by 1 function | Uses 0 functions

network_allowed_themes

Filter Hook: Filters the array of themes allowed on the network.

Source: wp-includes/class-wp-theme.php:1398

Used by 1 function | Uses 0 functions

WP_Theme::get_core_default_theme()

Method: Determines the latest WordPress default theme that is installed.

Source: wp-includes/class-wp-theme.php:1368

Used by 3 functions | Uses 1 function

WP_Theme::get_allowed()

Method: Returns array of stylesheet names of themes allowed on the site or network.

Source: wp-includes/class-wp-theme.php:1386

Used by 1 function | Uses 4 functions

allowed_themes

Filter Hook: Filters the array of themes allowed on the network.

Source: wp-includes/class-wp-theme.php:1424

Used by 1 function | Uses 0 functions

WP_Theme::get_allowed_on_network()

Method: Returns array of stylesheet names of themes allowed on the network.

Source: wp-includes/class-wp-theme.php:1411

Used by 4 functions | Uses 3 functions

WP_Theme::get_allowed_on_site()

Method: Returns array of stylesheet names of themes allowed on the site.

Source: wp-includes/class-wp-theme.php:1439

Used by 4 functions | Uses 11 functions

WP_Theme::sort_by_name()

Method: Sorts themes by name.

Source: wp-includes/class-wp-theme.php:1566

Used by 3 functions | Uses 1 function

WP_Theme::_name_sort()

Method: Callback function for usort() to naturally sort themes by name.

Source: wp-includes/class-wp-theme.php:1590

Used by 0 functions | Uses 0 functions

WP_Theme::_name_sort_i18n()

Method: Name sort (with translation).

Source: wp-includes/class-wp-theme.php:1604

Used by 0 functions | Uses 0 functions

WP_Theme::load_textdomain()

Method: Loads the theme’s textdomain.

Source: wp-includes/class-wp-theme.php:1300

Used by 2 functions | Uses 4 functions

WP_Theme::get_template_directory()

Method: Returns the absolute path to the directory of a theme’s “template” files.

Source: wp-includes/class-wp-theme.php:987

Used by 3 functions | Uses 1 function

WP_Theme::is_allowed()

Method: Whether the theme is allowed (multisite only).

Source: wp-includes/class-wp-theme.php:1337

Used by 0 functions | Uses 4 functions

WP_Theme::get_stylesheet_directory_uri()

Method: Returns the URL to the directory of a theme’s “stylesheet” files.

Source: wp-includes/class-wp-theme.php:1007

Used by 1 function | Uses 1 function

WP_Theme::get_template_directory_uri()

Method: Returns the URL to the directory of a theme’s “template” files.

Source: wp-includes/class-wp-theme.php:1021

Used by 0 functions | Uses 2 functions

WP_Theme::get_theme_root()

Method: The absolute path to the directory of the theme root.

Source: wp-includes/class-wp-theme.php:1040

Used by 2 functions | Uses 0 functions

WP_Theme::get_theme_root_uri()

Method: Returns the URL to the directory of the theme root.

Source: wp-includes/class-wp-theme.php:1055

Used by 4 functions | Uses 1 function

WP_Theme::get_screenshot()

Method: Returns the main screenshot file for the theme.

Source: wp-includes/class-wp-theme.php:1075

Used by 2 functions | Uses 4 functions

WP_Theme::markup_header()

Method: Mark up a theme header.

Source: wp-includes/class-wp-theme.php:821

Used by 1 function | Uses 7 functions

WP_Theme::get_files()

Method: Return files in the theme’s directory.

Source: wp-includes/class-wp-theme.php:1111

Used by 2 functions | Uses 4 functions

WP_Theme::translate_header()

Method: Translate a theme header.

Source: wp-includes/class-wp-theme.php:866

Used by 2 functions | Uses 4 functions

WP_Theme::get_page_templates()

Method: Returns the theme’s post templates for a given post type.

Source: wp-includes/class-wp-theme.php:1187

Used by 4 functions | Uses 5 functions

WP_Theme::get_stylesheet()

Method: The directory name of the theme’s “stylesheet” files, inside the theme root.

Source: wp-includes/class-wp-theme.php:941

Used by 4 functions | Uses 0 functions

theme_page_templates

Filter Hook: Filters list of page templates for a theme.

Source: wp-includes/class-wp-theme.php:1057

Used by 0 functions | Uses 0 functions
1 2 Next »
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.

Skip to toolbar
  • About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register