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