• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register

WordPress.org

  • Showcase
  • Learn
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
    • Five for the Future
  • 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:1265

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:1327

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:1189

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:1281

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:1571

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:1595

Used by 1 function | Uses 3 functions

network_allowed_themes

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

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

Used by 1 function | Uses 0 functions

site_allowed_themes

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

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

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:1427

Used by 4 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:1445

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:1481

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:1468

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:1494

Used by 4 functions | Uses 11 functions

WP_Theme::sort_by_name()

Method: Sorts themes by name.

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

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:1645

Used by 0 functions | Uses 0 functions

WP_Theme::_name_sort_i18n()

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

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

Used by 0 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

WP_Theme::get_template()

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

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

Used by 2 functions | Uses 0 functions

WP_Theme::scandir()

Method: Scans a directory for files of a certain extension.

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

Used by 2 functions | Uses 4 functions

WP_Theme::get_stylesheet_directory()

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

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

Used by 5 functions | Uses 1 function

WP_Theme::load_textdomain()

Method: Loads the theme’s textdomain.

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

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:1045

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:1396

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:1065

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:1079

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:1098

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:1113

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:1133

Used by 2 functions | Uses 4 functions

WP_Theme::markup_header()

Method: Mark up a theme header.

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

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:1171

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

Code is Poetry.