get_block_file_template – filter
Filters the block template object after it has been (potentially) fetched from the theme file.
Parameters
- .
- ( 5.9.0 ) . .
- $block_template
- ( WP_Block_Template|null ) The found block template, or null if there is none. . . .
- ( string ) $id Template unique identifier (example: theme_slug//template_slug). . . .
- ( string ) $template_type Template type: `’wp_template’` or ‘`wp_template_part’`. . . .