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



get_block_type_variations › WordPress Filter Hooks

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

Filters the registered variations for a block type.





Source

return apply_filters( 'get_block_type_variations', $this->variations, $this );