Changeset 38418 for trunk/src/wp-includes/template.php
- Timestamp:
- 08/28/2016 04:14:53 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/template.php
r38385 r38418 63 63 * Retrieve path of index template in current or parent template. 64 64 * 65 * The template path is filterable via the dynamic {@see '$type_template'} hook,66 * e.g. 'index_template'.65 * The template hierarchy is filterable via the {@see 'index_template_hierarchy'} hook. 66 * The template path is filterable via the {@see 'index_template'} hook. 67 67 * 68 68 * @since 3.0.0 … … 79 79 * Retrieve path of 404 template in current or parent template. 80 80 * 81 * The template path is filterable via the dynamic {@see '$type_template'} hook,82 * e.g. '404_template'.81 * The template hierarchy is filterable via the {@see '404_template_hierarchy'} hook. 82 * The template path is filterable via the {@see '404_template'} hook. 83 83 * 84 84 * @since 1.5.0 … … 95 95 * Retrieve path of archive template in current or parent template. 96 96 * 97 * The template path is filterable via the dynamic {@see '$type_template'} hook,98 * e.g. 'archive_template'.97 * The template hierarchy is filterable via the {@see 'archive_template_hierarchy'} hook. 98 * The template path is filterable via the {@see 'archive_template'} hook. 99 99 * 100 100 * @since 1.5.0 … … 121 121 * Retrieve path of post type archive template in current or parent template. 122 122 * 123 * The template path is filterable via the dynamic {@see '$type_template'} hook,124 * e.g. 'archive_template'.123 * The template hierarchy is filterable via the {@see 'archive_template_hierarchy'} hook. 124 * The template path is filterable via the {@see 'archive_template'} hook. 125 125 * 126 126 * @since 3.7.0 … … 145 145 * Retrieve path of author template in current or parent template. 146 146 * 147 * The template path is filterable via the dynamic {@see '$type_template'} hook,148 * e.g. 'author_template'.147 * The template hierarchy is filterable via the {@see 'author_template_hierarchy'} hook. 148 * The template path is filterable via the {@see 'author_template'} hook. 149 149 * 150 150 * @since 1.5.0 … … 175 175 * back to category.php template, if those files don't exist. 176 176 * 177 * The template path is filterable via the dynamic {@see '$type_template'} hook,178 * e.g. 'category_template'.177 * The template hierarchy is filterable via the {@see 'category_template_hierarchy'} hook. 178 * The template path is filterable via the {@see 'category_template'} hook. 179 179 * 180 180 * @since 1.5.0 … … 205 205 * tag.php template, if those files don't exist. 206 206 * 207 * The template path is filterable via the dynamic {@see '$type_template'} hook,208 * e.g. 'tag_template'.207 * The template hierarchy is filterable via the {@see 'tag_template_hierarchy'} hook. 208 * The template path is filterable via the {@see 'tag_template'} hook. 209 209 * 210 210 * @since 2.3.0 … … 240 240 * index.php. 241 241 * 242 * The template path is filterable via the dynamic {@see '$type_template'} hook,243 * e.g. 'taxonomy_template'.242 * The template hierarchy is filterable via the {@see 'taxonomy_template_hierarchy'} hook. 243 * The template path is filterable via the {@see 'taxonomy_template'} hook. 244 244 * 245 245 * @since 2.5.0 … … 267 267 * Retrieve path of date template in current or parent template. 268 268 * 269 * The template path is filterable via the dynamic {@see '$type_template'} hook,270 * e.g. 'date_template'.269 * The template hierarchy is filterable via the {@see 'date_template_hierarchy'} hook. 270 * The template path is filterable via the {@see 'date_template'} hook. 271 271 * 272 272 * @since 1.5.0 … … 286 286 * Attempts to locate 'home.php' first before falling back to 'index.php'. 287 287 * 288 * The template path is filterable via the dynamic {@see '$type_template'} hook,289 * e.g. 'home_template'.288 * The template hierarchy is filterable via the {@see 'home_template_hierarchy'} hook. 289 * The template path is filterable via the {@see 'home_template'} hook. 290 290 * 291 291 * @since 1.5.0 … … 302 302 303 303 /** 304 * Retrieve path of front -page template in current or parent template.305 * 306 * Looks for 'front-page.php'. The template path is filterable via the307 * dynamic {@see '$type_template'} hook, e.g. 'frontpage_template'.304 * Retrieve path of front page template in current or parent template. 305 * 306 * The template hierarchy is filterable via the {@see 'frontpage_template_hierarchy'} hook. 307 * The template path is filterable via the {@see 'frontpage_template'} hook. 308 308 * 309 309 * @since 3.0.0 … … 326 326 * and finally 'page.php'. 327 327 * 328 * The template path is filterable via the dynamic {@see '$type_template'} hook,329 * e.g. 'page_template'.328 * The template hierarchy is filterable via the {@see 'page_template_hierarchy'} hook. 329 * The template path is filterable via the {@see 'page_template'} hook. 330 330 * 331 331 * @since 1.5.0 … … 362 362 * Retrieve path of paged template in current or parent template. 363 363 * 364 * The template path is filterable via the dynamic {@see '$type_template'} hook,365 * e.g. 'paged_template'.364 * The template hierarchy is filterable via the {@see 'paged_template_hierarchy'} hook. 365 * The template path is filterable via the {@see 'paged_template'} hook. 366 366 * 367 367 * @since 1.5.0 … … 378 378 * Retrieve path of search template in current or parent template. 379 379 * 380 * The template path is filterable via the dynamic {@see '$type_template'} hook,381 * e.g. 'search_template'.380 * The template hierarchy is filterable via the {@see 'search_template_hierarchy'} hook. 381 * The template path is filterable via the {@see 'search_template'} hook. 382 382 * 383 383 * @since 1.5.0 … … 394 394 * Retrieve path of single template in current or parent template. 395 395 * 396 * The template path is filterable via the dynamic {@see '$type_template'} hook,397 * e.g. 'single_template'.396 * The template hierarchy is filterable via the {@see 'single_template_hierarchy'} hook. 397 * The template path is filterable via the {@see 'single_template'} hook. 398 398 * 399 399 * @since 1.5.0 … … 424 424 * By default the WordPress-template is returned. 425 425 * 426 * The template path is filterable via the dynamic {@see '$type_template'} hook,427 * e.g. 'embed_template'.426 * The template hierarchy is filterable via the {@see 'embed_template_hierarchy'} hook. 427 * The template path is filterable via the {@see 'embed_template'} hook. 428 428 * 429 429 * @since 4.5.0 … … 454 454 * Retrieves the path of the singular template in current or parent template. 455 455 * 456 * The template path is filterable via the dynamic {@see '$type_template'} hook,457 * e.g. 'singular_template'.456 * The template hierarchy is filterable via the {@see 'singular_template_hierarchy'} hook. 457 * The template path is filterable via the {@see 'singular_template'} hook. 458 458 * 459 459 * @since 4.3.0 … … 478 478 * finally 'text-plain.php'. 479 479 * 480 * The template path is filterable via the dynamic {@see '$type_template'} hook,481 * e.g. 'attachment_template'.480 * The template hierarchy is filterable via the {@see 'attachment_template_hierarchy'} hook. 481 * The template path is filterable via the {@see 'attachment_template'} hook. 482 482 * 483 483 * @since 2.0.0
Note: See TracChangeset
for help on using the changeset viewer.