Filters the registered variations for a block type.
Parameters
$variations
array- Array of registered variations for a block type.
$block_type
WP_Block_Type- The full block type object.
Source
return apply_filters( 'get_block_type_variations', $this->variations, $this );
Changelog
Version | Description |
---|---|
6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.