WordPress at a glance
filter is not described

block_type_metadata filter-hook . WP 5.7.0

Filters the metadata provided for registering a block type.

Usage

add_filter( 'block_type_metadata', 'filter_function_name_3550' );
function filter_function_name_3550( $metadata ){
	// filter...

	return $metadata;
}
$metadata(array)
Metadata for registering a block type.

Changelog

Since 5.7.0 Introduced.

Where the hook is called

register_block_type_from_metadata()
block_type_metadata
wp-includes/blocks.php 216
$metadata = apply_filters( 'block_type_metadata', $metadata );

Where in WP core the hook is used WordPress

Usage not found.