Make WordPress Core


Ignore:
Timestamp:
08/28/2016 04:14:53 PM (8 years ago)
Author:
johnbillion
Message:

Themes: Update filter names in the inline documentation for the get_*_template() functions.

See #14310, #37770

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/template.php

    r38385 r38418  
    6363 * Retrieve path of index template in current or parent template.
    6464 *
    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.
    6767 *
    6868 * @since 3.0.0
     
    7979 * Retrieve path of 404 template in current or parent template.
    8080 *
    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.
    8383 *
    8484 * @since 1.5.0
     
    9595 * Retrieve path of archive template in current or parent template.
    9696 *
    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.
    9999 *
    100100 * @since 1.5.0
     
    121121 * Retrieve path of post type archive template in current or parent template.
    122122 *
    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.
    125125 *
    126126 * @since 3.7.0
     
    145145 * Retrieve path of author template in current or parent template.
    146146 *
    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.
    149149 *
    150150 * @since 1.5.0
     
    175175 * back to category.php template, if those files don't exist.
    176176 *
    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.
    179179 *
    180180 * @since 1.5.0
     
    205205 * tag.php template, if those files don't exist.
    206206 *
    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.
    209209 *
    210210 * @since 2.3.0
     
    240240 * index.php.
    241241 *
    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.
    244244 *
    245245 * @since 2.5.0
     
    267267 * Retrieve path of date template in current or parent template.
    268268 *
    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.
    271271 *
    272272 * @since 1.5.0
     
    286286 * Attempts to locate 'home.php' first before falling back to 'index.php'.
    287287 *
    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.
    290290 *
    291291 * @since 1.5.0
     
    302302
    303303/**
    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 the
    307  * 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.
    308308 *
    309309 * @since 3.0.0
     
    326326 * and finally 'page.php'.
    327327 *
    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.
    330330 *
    331331 * @since 1.5.0
     
    362362 * Retrieve path of paged template in current or parent template.
    363363 *
    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.
    366366 *
    367367 * @since 1.5.0
     
    378378 * Retrieve path of search template in current or parent template.
    379379 *
    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.
    382382 *
    383383 * @since 1.5.0
     
    394394 * Retrieve path of single template in current or parent template.
    395395 *
    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.
    398398 *
    399399 * @since 1.5.0
     
    424424 * By default the WordPress-template is returned.
    425425 *
    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.
    428428 *
    429429 * @since 4.5.0
     
    454454 * Retrieves the path of the singular template in current or parent template.
    455455 *
    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.
    458458 *
    459459 * @since 4.3.0
     
    478478 * finally 'text-plain.php'.
    479479 *
    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.
    482482 *
    483483 * @since 2.0.0
Note: See TracChangeset for help on using the changeset viewer.