WP_Block_Type_Registry::get_all_registered

Advertisement

Summery Summery

Retrieves all registered block types.

Syntax Syntax

WP_Block_Type_Registry::get_all_registered()

Return Return

(WP_Block_Type[]) Associative array of $block_type_name => $block_type pairs.

Source Source

File: wp-includes/class-wp-block-type-registry.php

	 */
	public function get_all_registered() {
		return $this->registered_block_types;

Advertisement

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Advertisement

Leave a Reply