WordPress at Your Fingertips
function is not described

unregister_block_type() WP 5.0.0

Unregisters a block type.

No Hooks.


WP_Block_Type|false. The unregistered block type on success, or false on failure.


unregister_block_type( $name );
$name(string|WP_Block_Type) (required)
Block type name including namespace, or alternatively a complete WP_Block_Type instance.

Code of unregister_block_type() WP 5.8.3

function unregister_block_type( $name ) {
	return WP_Block_Type_Registry::get_instance()->unregister( $name );