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 all references
$args = apply_filters( 'register_block_type_args', $args, $this->name );
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |