register_block_type_args

Advertisement

Summery Summery

Filters the arguments for registering a block type.

Syntax Syntax

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

Parameters Parameters

$args

Array of arguments for registering a block type.

$block_type

Block type name including namespace.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Advertisement

Leave a Reply