apply_filters( 'register_block_type_args', array $args, string $block_type )

Filters the arguments for registering a block type.

Parameters

$args

(array) Array of arguments for registering a block type.

$block_type

(string) Block type name including namespace.

Source

File: wp-includes/class-wp-block-type.php

View on Trac

Changelog

Version Description
5.5.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/register_block_type_args