Make WordPress Core

Changeset 35413


Ignore:
Timestamp:
10/28/2015 02:05:04 PM (11 years ago)
Author:
johnbillion
Message:

List the possible values for the dynamic portion of the {type}_template hook.

See #14310, #32246

File:
1 edited

Legend:

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

    r35013 r35413  
    3535         * extension and any non-alphanumeric characters delimiting words -- of the file to load.
    3636         * This hook also applies to various types of files loaded as part of the Template Hierarchy.
     37         *
     38         * Possible values for `$type` include: 'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date',
     39         * 'home', 'front_page', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.
    3740         *
    3841         * @since 1.5.0
Note: See TracChangeset for help on using the changeset viewer.