Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/block-editor.php | apply_filters_deprecated | 99 | /** * Filters the default array of categories for block types. * * @since 5.0.0 * @deprecated 5.8.0 Use the {@see 'block_categories_all'} filter instead. * * @param array[] $block_categories Array of categories for block types. * @param WP_Post $post Post being loaded. */ |
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. |