WordPress Version: 5.8
/**
* Unregisters a block style.
*
* @since 5.3.0
*
* @param string $block_name Block type name including namespace.
* @param string $block_style_name Block style name.
* @return bool True if the block style was unregistered with success and false otherwise.
*/
function unregister_block_style($block_name, $block_style_name)
{
return WP_Block_Styles_Registry::get_instance()->unregister($block_name, $block_style_name);
}