Changeset 55870 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 05/30/2023 05:43:27 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r55857 r55870 159 159 * @since 5.5.0 The `$args` parameter was added. 160 160 * 161 * @param string $slug The slug name for the generic template.162 * @param string $nameThe name of the specialized template.163 * @param array $args Optional. Additional arguments passed to the template.164 * Default empty array.161 * @param string $slug The slug name for the generic template. 162 * @param string|null $name Optional. The name of the specialized template. 163 * @param array $args Optional. Additional arguments passed to the template. 164 * Default empty array. 165 165 * @return void|false Void on success, false if the template does not exist. 166 166 */ … … 176 176 * 177 177 * @param string $slug The slug name for the generic template. 178 * @param string|null $name The name of the specialized template. 178 * @param string|null $name The name of the specialized template or null if 179 * there is none. 179 180 * @param array $args Additional arguments passed to the template. 180 181 */ … … 196 197 * 197 198 * @param string $slug The slug name for the generic template. 198 * @param string $name The name of the specialized template. 199 * @param string $name The name of the specialized template or an empty 200 * string if there is none. 199 201 * @param string[] $templates Array of template files to search for, in order. 200 202 * @param array $args Additional arguments passed to the template.
Note: See TracChangeset
for help on using the changeset viewer.