WPDev.one
Core Function
View Source on Trac ↗

unregister_block_pattern_category()

unregister_block_pattern_category( mixed $category_name )

Unregisters a pattern category.

Parameters 1 required

Name / Type Description
$category_name
string

Pattern category name including namespace.

Required

Return Value

(bool)
True if the pattern category was unregistered with success and false otherwise.

Function Information

Since Version
5.5.0
Source File
wp-includes/class-wp-block-pattern-categories-registry.php
Advertisement