unregister_block_type

Advertisement

Summery Summery

Unregisters a block type.

Syntax Syntax

unregister_block_type( string|WP_Block_Type $name )

Parameters Parameters

$name

(string|WP_Block_Type) (Required) Block type name including namespace, or alternatively a complete WP_Block_Type instance.

Return Return

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

Source Source

File: wp-includes/blocks.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.