wpseek.com
A WordPress-centric search engine for devs and theme authors



get_block_type_uses_context › WordPress Filter Hooks

Since6.5.0
Deprecatedn/a
apply_filters( 'get_block_type_uses_context', $this->uses_context, $this )
Parameters: (2)
  • (array) $uses_context Array of registered uses context for a block type.
    Required: Yes
  • (WP_Block_Type) $block_type The full block type object.
    Required: Yes
Defined at:
Codex:

Filters the registered uses context for a block type.





Source

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