File: wp-includes/template.php
-
functionwp_set_template_globals()
Set up the globals used for template loading.
-
Fires before a template file is loaded.
-
Fires after a template file is loaded.
-
functionget_privacy_policy_template()
Retrieves path of Privacy Policy page template in current or parent template.
-
Filters the list of template filenames that are searched for when retrieving a template to use.
-
functionget_embed_template()
Retrieves an embed template path in the current or parent template.
-
functionget_singular_template()
Retrieves the path of the singular template in current or parent template.
-
functionget_search_template()
Retrieves path of search template in current or parent template.
-
functionget_single_template()
Retrieves path of single template in current or parent template. Applies to single Posts, single Attachments, and single custom post types.
-
functionget_attachment_template()
Retrieves path of attachment template in current or parent template.
-
functionlocate_template()
Retrieves the name of the highest priority template file that exists.
-
functionload_template()
Requires the template file with WordPress environment.
-
functionget_query_template()
Retrieves path to a template.
-
functionget_home_template()
Retrieves path of home template in current or parent template.
-
hook{$type}_template
Filters the path of the queried template by type.
-
functionget_front_page_template()
Retrieves path of front page template in current or parent template.
-
functionget_index_template()
Retrieves path of index template in current or parent template.
-
functionget_page_template()
Retrieves path of page template in current or parent template.
-
functionget_404_template()
Retrieves path of 404 template in current or parent template.
-
functionget_archive_template()
Retrieves path of archive template in current or parent template.
-
functionget_post_type_archive_template()
Retrieves path of post type archive template in current or parent template.
-
functionget_author_template()
Retrieves path of author template in current or parent template.
-
functionget_category_template()
Retrieves path of category template in current or parent template.
-
functionget_tag_template()
Retrieves path of tag template in current or parent template.
-
functionget_taxonomy_template()
Retrieves path of custom taxonomy term template in current or parent template.
-
functionget_date_template()
Retrieves path of date template in current or parent template.