get_block_templates – filter

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

Parameters

.
( 5.9.0 ) . .
$query_result
( WP_Block_Template[] ) Array of found block templates. . . .
( array ) $query { Optional. Arguments to retrieve templates. . . .
( array ) $slug__in List of slugs to include. . . .
( int ) $wp_id Post ID of customized template. } . . .
$template_type
( string ) wp_template or wp_template_part. . . .
API Letters: ,,

Implementers