Changeset 33273
- Timestamp:
- 07/14/2015 10:11:52 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/template.php
r33272 r33273 32 32 * Filter the path of the queried template by type. 33 33 * 34 * The dynamic portion of the hook name, `$type`, refers to the filename 35 * -- minus the extension -- of the file to load. This hook also applies36 * to various types of files loaded as part of the Template Hierarchy.34 * The dynamic portion of the hook name, `$type`, refers to the filename -- minus the file 35 * extension and any non-alphanumeric characters delimiting words -- of the file to load. 36 * This hook also applies to various types of files loaded as part of the Template Hierarchy. 37 37 * 38 38 * @since 1.5.0 39 39 * 40 * @param string $template Path to the template. See {@see locate_template()}.40 * @param string $template Path to the template. See locate_template(). 41 41 */ 42 42 return apply_filters( "{$type}_template", $template );
Note: See TracChangeset
for help on using the changeset viewer.