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.


Top ↑

Source

File: wp-includes/blocks.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.