block_type_metadata_settings WordPress Filter Hook
The block_type_metadata_settings hook allows you to modify the settings for a specific block type. This hook is triggered when the block type is registered.
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.
Source
File: wp-includes/blocks.php
Changelog
Version | Description |
---|---|
5.7.0 | Introduced. |