This function has been deprecated. This function was used in the ProPanel add-on for the deprecated block_categories hook. It is no longer needed, as we moved to the new hook block_categories_all instead.
learndash_propanel_block_categories( array $block_categories = array(), WP_Post|false $post = false )
Registers a custom block category.
Description #
Parameters #
- $block_categories
-
(array) (Optional) An array of current block categories.
Default value: array()
- $post
-
(WP_Post|false) (Optional) The
WP_Postinstance of post being edited.Default value: false
Return #
(array) An array of block categories.
Source #
Changelog #
| Version | Description |
|---|---|
| 4.17.0 | Introduced. This function has been deprecated. This function was used in the ProPanel add-on for the deprecated block_categories hook. It is no longer needed, as we moved to the new hook block_categories_all instead. |