Filters the block template object after it has been (potentially) fetched from the theme file.
$block_templateWP_Block_Template|null$idstring$template_typestringwp-includes/block-template-utils.php:1318get_block_file_template()wp-includes/block-template-utils.php:1328get_block_file_template()wp-includes/block-template-utils.php:1343get_block_file_template() * @since 5.9.0 * * @param WP_Block_Template|null $block_template The found block template, or null if there is none. * @param string $id Template unique identifier (example: 'theme_slug//template_slug'). * @param string $template_type Template type. Either 'wp_template' or 'wp_template_part'. */ return apply_filters( 'get_block_file_template', $block_template, $id, $template_type );} /** * Prints a block template part. * * @since 5.9.0Introduced in 5.9.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.