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.

Top ↑

Source

File: wp-includes/class-wp-block-type.php. View all references

$args = apply_filters( 'register_block_type_args', $args, $this->name );


Top ↑

Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.