Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/block-template-utils.php | apply_filters | 1073 | /** * Filters the queried block template object after it's been fetched. * * @since 5.9.0 * * @param WP_Block_Template|null $block_template The found block template, or null if there isn't one. * @param string $id Template unique identifier (example: theme_slug//template_slug). * @param array $template_type Template type: `'wp_template'` or '`wp_template_part'`. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
WP_Block_Template[] | $query_result | Array of found block templates. |
array | $quer | y { |
string | $template_type | wp_template or wp_template_part. |