Changeset 58071 for trunk/src/wp-includes/block-template-utils.php
- Timestamp:
- 05/01/2024 11:42:24 PM (19 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/block-template-utils.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r58042 r58071 250 250 * @param string $slug Template slug. 251 251 * @return array|null { 252 * Array with template metadata if $template_type is one of 'wp_template' or 'wp_template_part',253 * null otherwise.254 * 255 * @type string $slug Template slug.256 * @type string $path Template file path.257 * @type string $theme Theme slug.258 * @type string $type Template type.259 * @type string $area Template area. Only for 'wp_template_part'.260 * @type string $title Optional. Template title.261 * @type string[] $postTypes Optional. List of post types that the template supports. Only for 'wp_template'.252 * Array with template metadata if $template_type is one of 'wp_template' or 'wp_template_part', 253 * null otherwise. 254 * 255 * @type string $slug Template slug. 256 * @type string $path Template file path. 257 * @type string $theme Theme slug. 258 * @type string $type Template type. 259 * @type string $area Template area. Only for 'wp_template_part'. 260 * @type string $title Optional. Template title. 261 * @type string[] $postTypes Optional. List of post types that the template supports. Only for 'wp_template'. 262 262 * } 263 263 */
Note: See TracChangeset
for help on using the changeset viewer.