Filter hook 'block_categories_all'

in WP Core File wp-includes/block-editor.php at line 86

Description

Filters the default array of categories for block types.

Occurrences

Filename Line Number
wp-includes/block-editor.php 86

Parameters

Type Name Description
array[] $block_categories Array of categories for block types.
WP_Block_Editor_Context $block_editor_context The current block editor context.

PHP Doc

/**
	 * Filters the default array of categories for block types.
	 *
	 * @since 5.8.0
	 *
	 * @param array[]                 $block_categories     Array of categories for block types.
	 * @param WP_Block_Editor_Context $block_editor_context The current block editor context.
	 */