wpseek.com
A WordPress-centric search engine for devs and theme authors



unregister_block_pattern › WordPress Function

Since5.5.0
Deprecatedn/a
unregister_block_pattern ( $pattern_name )
Parameters:
  • (string) $pattern_name Block pattern name including namespace.
    Required: Yes
Returns:
  • (bool) True if the pattern was unregistered with success and false otherwise.
Defined at:
Codex:

Unregisters a block pattern.



Source

function unregister_block_pattern( $pattern_name ) {
	return WP_Block_Patterns_Registry::get_instance()->unregister( $pattern_name );
}