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



block_categories_all › WordPress Filter Hooks

Since5.8.0
Deprecatedn/a
apply_filters( 'block_categories_all', $block_categories, $block_editor_context )
Parameters: (2)
  • (array[]) $block_categories Array of categories for block types.
    Required: Yes
  • (WP_Block_Editor_Context) $block_editor_context The current block editor context.
    Required: Yes
Defined at:
Codex:

Filters the default array of categories for block types.





Source

$block_categories = apply_filters( 'block_categories_all', $block_categories, $block_editor_context );