get_block_file_template – filter

Filters the array of queried block templates array after they’ve been fetched. 

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’`. . . .
API Letters: ,,,

Implementers