WordPress at Your Fingertips
filter is not described

register_block_type_args filter-hook . WP 5.5.0

Filters the arguments for registering a block type.

Usage

add_filter( 'register_block_type_args', 'filter_function_name_7638', 10, 2 );
function filter_function_name_7638( $args, $block_type ){
	// filter...

	return $args;
}
$args(array)
Array of arguments for registering a block type.
$block_type(string)
Block type name including namespace.

Changelog

Since 5.5.0 Introduced.

Where the hook is called

WP_Block_Type::set_props()
register_block_type_args
wp-includes/class-wp-block-type.php 330
$args = apply_filters( 'register_block_type_args', $args, $this->name );

Where in WP core the hook is used WordPress

Usage not found.