Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/block-editor.php | apply_filters | 85 | /** * 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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array[] | $block_categories | Array of categories for block types. |
WP_Block_Editor_Context | $block_editor_context | The current block editor context. |