Changeset 45059
- Timestamp:
- 03/28/2019 09:12:20 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r45042 r45059 154 154 155 155 $templates[] = "{$slug}.php"; 156 157 /** 158 * Fires before a template part is loaded. 159 * 160 * @since 5.2.0 161 * 162 * @param string $slug The slug name for the generic template. 163 * @param string $name The name of the specialized template. 164 * @param string[] $templates Array of template files to search for, in order. 165 */ 166 do_action( 'get_template_part', $slug, $name, $templates ); 156 167 157 168 locate_template( $templates, true, false );
Note: See TracChangeset
for help on using the changeset viewer.