Ticket #40962: 40962.diff
File 40962.diff, 1.2 KB (added by , 8 years ago) |
---|
-
src/wp-includes/template.php
32 32 * The last element in the array should always be the fallback template for this query type. 33 33 * 34 34 * Possible values for `$type` include: 'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date', 35 * 'embed', home', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.35 * 'embed', 'home', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'. 36 36 * 37 37 * @since 4.7.0 38 38 * … … 50 50 * This hook also applies to various types of files loaded as part of the Template Hierarchy. 51 51 * 52 52 * Possible values for `$type` include: 'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date', 53 * 'embed', home', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.53 * 'embed', 'home', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'. 54 54 * 55 55 * @since 1.5.0 56 56 * @since 4.8.0 The `$type` and `$templates` parameters were added.