Docs: Add missing opening quote for 'home' in `{$type}_template_hierarchy` and `{$type}_template` filters documentation.
Props tmatsuur, truongwp. Fixes #40962. git-svn-id: https://develop.svn.wordpress.org/trunk@40894 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5b7fb84f03
commit
03eeb7efa8
|
@ -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', 'frontpage', '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', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.
|
||||
* 'embed', 'home', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.
|
||||
*
|
||||
* @since 1.5.0
|
||||
* @since 4.8.0 The `$type` and `$templates` parameters were added.
|
||||
|
|
Loading…
Reference in New Issue