block_categories

block_categories

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-5.7.2

apply_filters('block_categories') is found 1 times:

  • /wp-admin/includes/post.php line 2226
    2222
    2223
    2224
    2225
    2226
    2227
    2228
    2229
    2230
    2231
    2232
         *
         * @param array[] $default_categories Array of block categories.
         * @param WP_Post $post               Post being loaded.
         */
        return apply_filters( 'block_categories', $default_categories, $post );
    }
     
    /**
     * Prepares server-registered blocks for the block editor.
     *
     * Returns an associative array of registered block data keyed by block name. Data includes properties

See this hook used in plugins: