block_categories_all
Like this:
Like Loading...
Appears in:
gutenberg.10.6.0,
gutenberg.10.6.1,
gutenberg.10.6.2,
gutenberg.10.7.1,
gutenberg.10.7.2,
gutenberg.10.7.4,
gutenberg.10.8.0,
gutenberg.10.8.1,
gutenberg.10.8.2,
gutenberg.10.9.0,
gutenberg.10.9.1,
gutenberg.11.0.0,
gutenberg.11.1.0,
gutenberg.11.2.0,
gutenberg.11.2.1,
gutenberg.11.3.0,
gutenberg.11.4.0,
gutenberg.11.4.1,
gutenberg.11.5.0,
gutenberg.11.5.1,
gutenberg.11.6.0,
gutenberg.11.7.1,
gutenberg.11.8.0,
wordpress-5.8,
wordpress-5.8.1,
wordpress-5.8.2,
wordpress-5.8.3,
wordpress-5.9,
wordpress-5.9.1,
wordpress-5.9.2,
wordpress-5.9.3,
wordpress-6.0,
wordpress-6.0.1,
wordpress-6.0.2,
wordpress-6.0.3,
wordpress-6.1,
wordpress-6.1.1,
wordpress-6.2,
wordpress-6.2.1,
wordpress-6.2.2,
wordpress-6.3,
wordpress-6.3.1,
wordpress-6.3.2,
wordpress-6.4,
wordpress-6.4.1,
wordpress-6.4.2,
wordpress-6.4.3,
wordpress-6.5,
wordpress-6.5.2,
wordpress-6.5.3,
wordpress-6.5.4,
wordpress-6.5.5,
wordpress-6.6,
wordpress-6.6.1,
wordpress-6.6.2,
wordpress-6.7,
wordpress-6.7.1Hook Type: filter
See hook in action
Displaying hooks found in version: wordpress-6.7.1
apply_filters('block_categories_all') is found 1 times:
- /wp-includes/block-editor.php line 86
*
* @param array[] $block_categories Array of categories for block types.
* @param WP_Block_Editor_Context $block_editor_context The current block editor context.
*/
$block_categories = apply_filters( 'block_categories_all', $block_categories, $block_editor_context );
if ( ! empty( $block_editor_context->post ) ) {
$post = $block_editor_context->post;
/**
* Filters the default array of categories for block types.
Like this:
Like Loading...
See this hook used in plugins: