Make WordPress Core

Changeset 40962


Ignore:
Timestamp:
06/29/2017 03:38:14 PM (8 years ago)
Author:
DrewAPicture
Message:

Docs: Don't reference non-existent hooks inline in the DocBlock description for get_post_type_archive_template().

Props milana_cap.
See #41198.

File:
1 edited

Legend:

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

    r40894 r40962  
    124124 * Retrieve path of post type archive template in current or parent template.
    125125 *
    126  * The template hierarchy is filterable via the {@see 'archive_template_hierarchy'} hook.
    127  * The template path is filterable via the {@see 'archive_template'} hook.
     126 * The template hierarchy and template path are filterable via the {@see '{$type}_template_hierarchy'}
     127 * and {@see '{$type}_template'} dynamic hooks, where `$type` is 'archive'.
    128128 *
    129129 * @since 3.7.0
Note: See TracChangeset for help on using the changeset viewer.