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.


Parameters

$args

(<span class="array">array) (Required) The default arguments the block would be registered with if this method is not overridden.


Top ↑

Return

(array<string,mixed>) The arguments to use when registering the block.


Top ↑

Source

File: src/Tribe/Editor/Blocks/Abstract.php

	public function get_registration_args( array $args ): array {
		return $args;
	}

Top ↑

Changelog

Changelog
Version Description
5.2.0 Introduced.