apply_filters( "block_categories_all", array[] $block_categories, WP_Block_Editor_Context $block_editor_context )

Filters the default array of categories for block types.

Parameters

$block_categories

array[]

Array of categories for block types.

$block_editor_context

WP_Block_Editor_Context

The current block editor context.

Source

File: wp-includes/block-editor.php.

View all references

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

Leave a Reply

Your email address will not be published. Required fields are marked *