wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



block_categories_all › Les Filtres WordPress

Depuis5.8.0
Dépréciéen/a
apply_filters( 'block_categories_all', $block_categories, $block_editor_context )
Paramètres: (2)
  • (array[]) $block_categories Array of categories for block types.
    Requis: Oui
  • (WP_Block_Editor_Context) $block_editor_context The current block editor context.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the default array of categories for block types.





Source

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