WP_Block_Type_Registry::unregister

Advertisement

Summery Summery

Unregisters a block type.

Syntax Syntax

WP_Block_Type_Registry::unregister( 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/class-wp-block-type-registry.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.