WordPress Version: 5.9
/**
* Unregisters a block pattern.
*
* @since 5.5.0
*
* @param string $pattern_name Block pattern name including namespace.
* @return bool True if the pattern was unregistered with success and false otherwise.
*/
function unregister_block_pattern($pattern_name)
{
return WP_Block_Patterns_Registry::get_instance()->unregister($pattern_name);
}