Changeset 63495 for trunk/src/wp-includes/block-template-utils.php
- Timestamp:
- 09/05/2026 09:32:30 AM (2 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/block-template-utils.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r63385 r63495 1116 1116 * @param WP_Block_Template[]|null $block_templates Return an array of block templates to short-circuit the default query, 1117 1117 * or null to allow WP to run its normal queries. 1118 * @param array $query {1118 * @param array $query { 1119 1119 * Arguments to retrieve templates. All arguments are optional. 1120 1120 * … … 1124 1124 * @type string $post_type Post type to get the templates for. 1125 1125 * } 1126 * @param string $template_typeTemplate type. Either 'wp_template' or 'wp_template_part'.1126 * @param string $template_type Template type. Either 'wp_template' or 'wp_template_part'. 1127 1127 */ 1128 1128 $templates = apply_filters( 'pre_get_block_templates', null, $query, $template_type ); … … 1265 1265 * @since 5.9.0 1266 1266 * 1267 * @param WP_Block_Template[] $query_result Array of found block templates.1267 * @param WP_Block_Template[] $query_result Array of found block templates. 1268 1268 * @param array $query { 1269 1269 * Arguments to retrieve templates. All arguments are optional.
Note:
See TracChangeset
for help on using the changeset viewer.