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. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/block_type_metadata_settings