apply_filters( ‘block_type_metadata_settings’, array $settings, array $metadata )

In this article

Filters the settings determined from the block type metadata.

Parameters

$settingsarray
Array of determined settings for registering a block type.
$metadataarray
Metadata provided for registering a block type.

Source

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

Changelog

VersionDescription
5.7.0Introduced.

User Contributed Notes

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