Core Function
View Source on Trac ↗ unregister_block_pattern()
unregister_block_pattern( mixed $pattern_name ) Unregisters a block pattern.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $pattern_name string | Block pattern name including namespace. Required |
Return Value
(bool)
True if the pattern was unregistered with success and false otherwise.
Function Information
Since Version
5.5.0
Source File
wp-includes/class-wp-block-patterns-registry.php
Advertisement