Changeset 54180
- Timestamp:
- 09/15/2022 12:47:16 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/template.php
r54179 r54180 8 8 9 9 /** 10 * Retrieve path to a template10 * Retrieves path to a template. 11 11 * 12 12 * Used to quickly retrieve the path of a template without including the file … … 105 105 106 106 /** 107 * Retrieve path of index template in current or parent template.107 * Retrieves path of index template in current or parent template. 108 108 * 109 109 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} … … 121 121 122 122 /** 123 * Retrieve path of 404 template in current or parent template.123 * Retrieves path of 404 template in current or parent template. 124 124 * 125 125 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} … … 137 137 138 138 /** 139 * Retrieve path of archive template in current or parent template.139 * Retrieves path of archive template in current or parent template. 140 140 * 141 141 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} … … 163 163 164 164 /** 165 * Retrieve path of post type archive template in current or parent template.165 * Retrieves path of post type archive template in current or parent template. 166 166 * 167 167 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} … … 189 189 190 190 /** 191 * Retrieve path of author template in current or parent template.191 * Retrieves path of author template in current or parent template. 192 192 * 193 193 * The hierarchy for this template looks like: … … 227 227 228 228 /** 229 * Retrieve path of category template in current or parent template.229 * Retrieves path of category template in current or parent template. 230 230 * 231 231 * The hierarchy for this template looks like: … … 273 273 274 274 /** 275 * Retrieve path of tag template in current or parent template.275 * Retrieves path of tag template in current or parent template. 276 276 * 277 277 * The hierarchy for this template looks like: … … 319 319 320 320 /** 321 * Retrieve path of custom taxonomy term template in current or parent template.321 * Retrieves path of custom taxonomy term template in current or parent template. 322 322 * 323 323 * The hierarchy for this template looks like: … … 366 366 367 367 /** 368 * Retrieve path of date template in current or parent template.368 * Retrieves path of date template in current or parent template. 369 369 * 370 370 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} … … 382 382 383 383 /** 384 * Retrieve path of home template in current or parent template.384 * Retrieves path of home template in current or parent template. 385 385 * 386 386 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} … … 400 400 401 401 /** 402 * Retrieve path of front page template in current or parent template.402 * Retrieves path of front page template in current or parent template. 403 403 * 404 404 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} … … 418 418 419 419 /** 420 * Retrieve path of Privacy Policy page template in current or parent template.420 * Retrieves path of Privacy Policy page template in current or parent template. 421 421 * 422 422 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} … … 436 436 437 437 /** 438 * Retrieve path of page template in current or parent template.438 * Retrieves path of page template in current or parent template. 439 439 * 440 440 * Note: For block themes, use locate_block_template function instead. … … 499 499 500 500 /** 501 * Retrieve path of search template in current or parent template.501 * Retrieves path of search template in current or parent template. 502 502 * 503 503 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} … … 515 515 516 516 /** 517 * Retrieve path of single template in current or parent template. Applies to single Posts,517 * Retrieves path of single template in current or parent template. Applies to single Posts, 518 518 * single Attachments, and single custom post types. 519 519 * … … 629 629 630 630 /** 631 * Retrieve path of attachment template in current or parent template.631 * Retrieves path of attachment template in current or parent template. 632 632 * 633 633 * The hierarchy for this template looks like: … … 681 681 682 682 /** 683 * Retrieve the name of the highest priority template file that exists.683 * Retrieves the name of the highest priority template file that exists. 684 684 * 685 685 * Searches in the STYLESHEETPATH before TEMPLATEPATH and wp-includes/theme-compat … … 747 747 748 748 /** 749 * Require the template file with WordPress environment.749 * Requires the template file with WordPress environment. 750 750 * 751 751 * The globals are set up for the template file to ensure that the WordPress
Note: See TracChangeset
for help on using the changeset viewer.