WP_Block_Type_Registry::is_registered

Advertisement

Summery Summery

Checks if a block type is registered.

Syntax Syntax

WP_Block_Type_Registry::is_registered( string $name )

Parameters Parameters

$name

(string) (Required) Block type name including namespace.

Return Return

(bool) True if the block type is registered, false otherwise.

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.