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, $editor_name )
Parameters: (2)
  • (array[]) $block_categories Array of categories for block types.
    Required: Yes
  • (string) $editor_name The name of the editor, e.g. 'post-editor'.
    Required: Yes
Defined at:
Codex:

Filters the default array of categories for block types.





Source

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