apply_filters( 'block_type_metadata_settings', array $settings, array $metadata )

Filters the settings determined from the block type metadata.


Parameters

$settings array
Array of determined settings for registering a block type.
$metadata array
Metadata provided for registering a block type.

Top ↑

Source

File: wp-includes/blocks.php. View all references

$settings = apply_filters(
	'block_type_metadata_settings',
	array_merge(
		$settings,
		$args
	),
	$metadata
);


Top ↑

Changelog

Changelog
Version Description
5.7.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.