Browse: Home / Functions /

learndash_block_categories_all

learndash_block_categories_all( array $block_categories,  WP_Block_Editor_Context $block_editor_context )

Registers a custom block category.


Description #

Fires on block_categories_all hook.


Parameters #

$block_categories

(array) (Optional) An array of current block categories. Default empty array.

$block_editor_context

(WP_Block_Editor_Context) (Optional) The current block editor context.


Return #

(array) An array of block categories.


Source #

File: includes/gutenberg/lib/enqueue-scripts.php


Changelog #

Changelog
Version Description
3.4.2 Introduced.