get_block_templates
get_block_templates
Appears in: gutenberg.11.0.0, gutenberg.11.1.0, gutenberg.11.2.0, gutenberg.11.2.1, gutenberg.11.3.0, gutenberg.11.4.0, gutenberg.11.4.1, gutenberg.11.5.0, gutenberg.11.5.1, gutenberg.11.6.0, gutenberg.11.7.1, gutenberg.11.8.0, gutenberg.12.7.2, gutenberg.12.9.0, gutenberg.13.1.0, gutenberg.13.2.0, gutenberg.13.4.0, gutenberg.13.5.0, gutenberg.13.5.2, gutenberg.13.6.0, gutenberg.13.7.1, gutenberg.13.8.2, gutenberg.13.9.0, gutenberg.14.0.2, gutenberg.14.0.3, gutenberg.14.2.0, gutenberg.14.3.1, gutenberg.14.4.0, gutenberg.14.5.0, gutenberg.14.5.3, gutenberg.14.6.1, gutenberg.14.7.0, gutenberg.14.8.4, gutenberg.15.1.0, gutenberg.15.2.1, gutenberg.15.2.2, gutenberg.15.2.4, gutenberg.15.3.1, gutenberg.15.4.0, gutenberg.15.6.2, gutenberg.15.7.0, gutenberg.15.7.1, gutenberg.18.6.1, gutenberg.18.7.1, gutenberg.18.9.0, gutenberg.19.0.0, gutenberg.19.1.0, gutenberg.19.2.0, gutenberg.19.4.0, gutenberg.19.6.1, wordpress-5.9, wordpress-5.9.1, wordpress-5.9.2, wordpress-5.9.3, wordpress-6.0, wordpress-6.0.1, wordpress-6.0.2, wordpress-6.0.3, wordpress-6.1, wordpress-6.1.1, wordpress-6.2, wordpress-6.2.1, wordpress-6.2.2, wordpress-6.3, wordpress-6.3.1, wordpress-6.3.2, wordpress-6.4, wordpress-6.4.1, wordpress-6.4.2, wordpress-6.4.3, wordpress-6.5, wordpress-6.5.2, wordpress-6.5.3, wordpress-6.5.4, wordpress-6.5.5, wordpress-6.6, wordpress-6.6.1, wordpress-6.6.2, wordpress-6.7
Hook Type: filter
See hook in action
Displaying hooks found in version: wordpress-6.7apply_filters('get_block_templates') is found 1 times:
- /wp-includes/block-template-utils.php line 1210
* @type string $post_type Post type to get the templates for. * } * @param string $template_type wp_template or wp_template_part. */ return apply_filters( 'get_block_templates', $query_result, $query, $template_type ); } /** * Retrieves a single unified template object using its id. * * @since 5.8.0