apply_filters_deprecated( 'block_categories', array[] $block_categories, WP_Post $post ) 
 This hook has been deprecated. Use the ‘block_categories_all’ filter instead.   Filters the default array of categories for block types.   Parameters   $block_categories array[]    Array of categories for block types.    $post WP_Post    Post being loaded.      Source  File: wp-includes/block-editor.php. View all references  $block_categories = apply_filters_deprecated( 'block_categories', array( $block_categories, $post ), '5.8.0', 'block_categories_all' );
   Related  Used By    Used By Description      get_block_categories() wp-includes/block-editor.php   Returns all the categories for block types that will be shown in the block editor.   
    Changelog    Version Description     5.8.0 Use the 'block_categories_all' filter instead.   5.0.0 Introduced.    

    
{'path': 'public/docs/wordpress/hooks/block_categories.html', 'source': 'DevDocs.IO'}