WordPress at a glance
filter is not described

block_type_metadata_settings filter-hook . WP 5.7.0

Filters the settings determined from the block type metadata.

Usage

add_filter( 'block_type_metadata_settings', 'filter_function_name_5362', 10, 2 );
function filter_function_name_5362( $settings, $metadata ){
	// filter...

	return $settings;
}
$settings(array)
Array of determined settings for registering a block type.
$metadata(array)
Metadata provided for registering a block type.

Changelog

Since 5.7.0 Introduced.

Where the hook is called

register_block_type_from_metadata()
block_type_metadata_settings
wp-includes/blocks.php 318-325
$settings = apply_filters(
	'block_type_metadata_settings',
	array_merge(
		$settings,
		$args
	),
	$metadata
);

Where in WP core the hook is used WordPress

Usage not found.