WordPress at a glance
function is not described

register_block_pattern_category() WP 5.5.0

Registers a new pattern category.

No Hooks.

Return

true/false. True if the pattern category was registered with success and false otherwise.

Usage

register_block_pattern_category( $category_name, $category_properties );
$category_name(string) (required)
Pattern category name.
$category_properties(array) (required)
Array containing the properties of the category.

Changelog

Since 5.5.0 Introduced.

Code of register_block_pattern_category() WP 5.5.1

<?php
function register_block_pattern_category( $category_name, $category_properties ) {
	return WP_Block_Pattern_Categories_Registry::get_instance()->register( $category_name, $category_properties );
}