block_type_metadata WordPress Filter Hook
The block_type_metadata hook allows you to register metadata for a block type. This metadata can be used by plugins and themes to customize the behavior of the block type.
apply_filters( 'block_type_metadata', array $metadata ) #
Filters the metadata provided for registering a block type.
Parameters
- $metadata
(array)Metadata for registering a block type.
Source
File: wp-includes/blocks.php
Changelog
Version | Description |
---|---|
5.7.0 | Introduced. |