Changeset 40057
- Timestamp:
- 02/12/2017 09:24:16 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/template.php
r40031 r40057 54 54 * 55 55 * @since 1.5.0 56 * 57 * @param string $template Path to the template. See locate_template(). 56 * @since 4.8.0 The `$type` and `$templates` parameters were added. 57 * 58 * @param string $template Path to the template. See locate_template(). 59 * @param string $type Filename without extension. 60 * @param array $templates A list of template candidates, in descending order of priority. 58 61 */ 59 return apply_filters( "{$type}_template", $template );62 return apply_filters( "{$type}_template", $template, $type, $templates ); 60 63 } 61 64
Note: See TracChangeset
for help on using the changeset viewer.