Changeset 40964
- Timestamp:
- 06/29/2017 04:04:45 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/template.php
r40963 r40964 66 66 * Retrieve path of index template in current or parent template. 67 67 * 68 * The template hierarchy is filterable via the {@see 'index_template_hierarchy'} hook.69 * The template path is filterable via the {@see 'index_template'} hook.68 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 69 * and {@see '$type_template'} dynamic hooks, where `$type` is 'index'. 70 70 * 71 71 * @since 3.0.0 … … 82 82 * Retrieve path of 404 template in current or parent template. 83 83 * 84 * The template hierarchy is filterable via the {@see '404_template_hierarchy'} hook.85 * The template path is filterable via the {@see '404_template'} hook.84 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 85 * and {@see '$type_template'} dynamic hooks, where `$type` is '404'. 86 86 * 87 87 * @since 1.5.0 … … 161 161 * 3. author.php 162 162 * 163 * The template hierarchy is filterable via the {@see 'author_template_hierarchy'} hook.164 * The template path is filterable via the {@see 'author_template'} hook.163 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 164 * and {@see '$type_template'} dynamic hooks, where `$type` is 'author'. 165 165 * 166 166 * @since 1.5.0 … … 199 199 * 3. category.php 200 200 * 201 * The template hierarchy is filterable via the {@see 'category_template_hierarchy'} hook.202 * The template path is filterable via the {@see 'category_template'} hook.201 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 202 * and {@see '$type_template'} dynamic hooks, where `$type` is 'category'. 203 203 * 204 204 * @since 1.5.0 … … 245 245 * 3. tag.php 246 246 * 247 * The template hierarchy is filterable via the {@see 'tag_template_hierarchy'} hook.248 * The template path is filterable via the {@see 'tag_template'} hook.247 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 248 * and {@see '$type_template'} dynamic hooks, where `$type` is 'tag'. 249 249 * 250 250 * @since 2.3.0 … … 291 291 * 3. taxonomy.php 292 292 * 293 * The template hierarchy is filterable via the {@see 'taxonomy_template_hierarchy'} hook.294 * The template path is filterable via the {@see 'taxonomy_template'} hook.293 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 294 * and {@see '$type_template'} dynamic hooks, where `$type` is 'taxonomy'. 295 295 * 296 296 * @since 2.5.0 … … 326 326 * Retrieve path of date template in current or parent template. 327 327 * 328 * The template hierarchy is filterable via the {@see 'date_template_hierarchy'} hook.329 * The template path is filterable via the {@see 'date_template'} hook.328 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 329 * and {@see '$type_template'} dynamic hooks, where `$type` is 'date'. 330 330 * 331 331 * @since 1.5.0 … … 342 342 * Retrieve path of home template in current or parent template. 343 343 * 344 * The template hierarchy is filterable via the {@see 'home_template_hierarchy'} hook.345 * The template path is filterable via the {@see 'home_template'} hook.344 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 345 * and {@see '$type_template'} dynamic hooks, where `$type` is 'home'. 346 346 * 347 347 * @since 1.5.0 … … 360 360 * Retrieve path of front page template in current or parent template. 361 361 * 362 * The template hierarchy is filterable via the {@see 'frontpage_template_hierarchy'} hook.363 * The template path is filterable via the {@see 'frontpage_template'} hook.362 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 363 * and {@see '$type_template'} dynamic hooks, where `$type` is 'frontpage'. 364 364 * 365 365 * @since 3.0.0 … … 392 392 * 4. page.php 393 393 * 394 * The template hierarchy is filterable via the {@see 'page_template_hierarchy'} hook.395 * The template path is filterable via the {@see 'page_template'} hook.394 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 395 * and {@see '$type_template'} dynamic hooks, where `$type` is 'page'. 396 396 * 397 397 * @since 1.5.0 … … 435 435 * Retrieve path of search template in current or parent template. 436 436 * 437 * The template hierarchy is filterable via the {@see 'search_template_hierarchy'} hook.438 * The template path is filterable via the {@see 'search_template'} hook.437 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 438 * and {@see '$type_template'} dynamic hooks, where `$type` is 'search'. 439 439 * 440 440 * @since 1.5.0 … … 466 466 * 4. single.php 467 467 * 468 * The template hierarchy is filterable via the {@see 'single_template_hierarchy'} hook.469 * The template path is filterable via the {@see 'single_template'} hook.468 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 469 * and {@see '$type_template'} dynamic hooks, where `$type` is 'single'. 470 470 * 471 471 * @since 1.5.0 … … 519 519 * 3. embed.php 520 520 * 521 * The template hierarchy is filterable via the {@see 'embed_template_hierarchy'} hook.522 * The template path is filterable via the {@see 'embed_template'} hook.521 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 522 * and {@see '$type_template'} dynamic hooks, where `$type` is 'embed'. 523 523 * 524 524 * @since 4.5.0 … … 549 549 * Retrieves the path of the singular template in current or parent template. 550 550 * 551 * The template hierarchy is filterable via the {@see 'singular_template_hierarchy'} hook.552 * The template path is filterable via the {@see 'singular_template'} hook.551 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 552 * and {@see '$type_template'} dynamic hooks, where `$type` is 'singular'. 553 553 * 554 554 * @since 4.3.0 … … 579 579 * 4. attachment.php 580 580 * 581 * The template hierarchy is filterable via the {@see 'attachment_template_hierarchy'} hook.582 * The template path is filterable via the {@see 'attachment_template'} hook.581 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} 582 * and {@see '$type_template'} dynamic hooks, where `$type` is 'attachment'. 583 583 * 584 584 * @since 2.0.0
Note: See TracChangeset
for help on using the changeset viewer.