WordPress at a glance
function is not described

unregister_block_pattern_category() WP 5.5.0

Unregisters a pattern category.

No Hooks.

Return

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

Usage

unregister_block_pattern_category( $category_name );
$category_name(string) (required)
Pattern category name including namespace.

Changelog

Since 5.5.0 Introduced.

Code of unregister_block_pattern_category() WP 5.5.1

<?php
function unregister_block_pattern_category( $category_name ) {
	return WP_Block_Pattern_Categories_Registry::get_instance()->unregister( $category_name );
}