Filter hook 'block_type_metadata'

in WP Core File wp-includes/blocks.php at line 447

Description

Filters the metadata provided for registering a block type.

Occurrences

Filename Line Number
wp-includes/blocks.php 447
wp-includes/blocks/index.php 119
wp-includes/blocks/comments.php 223

Parameters

Type Name Description
array $metadata Metadata for registering a block type.

PHP Doc

/**
	 * Filters the metadata provided for registering a block type.
	 *
	 * @since 5.7.0
	 *
	 * @param array $metadata Metadata for registering a block type.
	 */