Filter hook 'get_block_type_uses_context'

in WP Core File wp-includes/class-wp-block-type.php at line 635

Description

Filters the registered uses context for a block type.

Occurrences

Filename Line Number
wp-includes/class-wp-block-type.php 635

Parameters

Type Name Description
string[] $uses_context Array of registered uses context for a block type.
WP_Block_Type $block_type The full block type object.

PHP Doc

/**
		 * Filters the registered uses context for a block type.
		 *
		 * @since 6.5.0
		 *
		 * @param string[]      $uses_context Array of registered uses context for a block type.
		 * @param WP_Block_Type $block_type   The full block type object.
		 */