apply_filters( ‘get_block_type_uses_context’, string[] $uses_context, WP_Block_Type $block_type )

In this article

Filters the registered uses context for a block type.

Parameters

$uses_contextstring[]
Array of registered uses context for a block type.
$block_typeWP_Block_Type
The full block type object.

Source

return apply_filters( 'get_block_type_uses_context', $this->uses_context, $this );

Changelog

VersionDescription
6.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.