Tribe__Editor__Blocks__Abstract::get_registration_args( array $args )
Allows extending blocks to modify and update the arguments used to register the block in the register_block_type function.
Contents
Parameters
- $args
-
(<span class="array">array) (Required) The default arguments the block would be registered with if this method is not overridden.
Return
(array<string,mixed>) The arguments to use when registering the block.
Source
File: src/Tribe/Editor/Blocks/Abstract.php
public function get_registration_args( array $args ): array {
return $args;
}
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |