mirror of
git://develop.git.wordpress.org/
synced 2025-03-20 03:49:54 +01:00
Themes: Correct the list of possible values for the dynamic portion of the {$type}_template_hierarchy
and {$type}_template
filters.
See #14310 git-svn-id: https://develop.svn.wordpress.org/trunk@38428 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
92802bfd23
commit
3b723b31ee
@ -32,7 +32,7 @@ function get_query_template( $type, $templates = array() ) {
|
||||
* The last element in the array should always be the fallback template for this query type.
|
||||
*
|
||||
* Possible values for `$type` include: 'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date',
|
||||
* 'embed', home', 'front_page', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.
|
||||
* 'embed', home', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.
|
||||
*
|
||||
* @since 4.7.0
|
||||
*
|
||||
@ -50,7 +50,7 @@ function get_query_template( $type, $templates = array() ) {
|
||||
* This hook also applies to various types of files loaded as part of the Template Hierarchy.
|
||||
*
|
||||
* Possible values for `$type` include: 'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date',
|
||||
* 'embed', home', 'front_page', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.
|
||||
* 'embed', home', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user