unregister_block_type
unregister_block_type ( $name )
Parameters:- (string|WP_Block_Type) name Block type name including namespace, or alternatively a complete WP_Block_Type instance.
Returns:- (WP_Block_Type|false) The unregistered block type on success, or false on failure.
Defined at: - Introduced in WordPress: 5.0.0
- Deprecated in WordPress: —
Description
Unregisters a block type.