wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



block_categories_all › WordPress Filter Hooks

Seit5.8.0
Veraltetn/v
apply_filters( 'block_categories_all', $block_categories, $block_editor_context )
Parameter: (2)
  • (array[]) $block_categories Array of categories for block types.
    Erforderlich: Ja
  • (WP_Block_Editor_Context) $block_editor_context The current block editor context.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the default array of categories for block types.





Quellcode

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