WP_Block_Type_Registry::get_all_registered(): WP_Block_Type[]

In this article

Retrieves all registered block types.

Return

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

Source

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

Changelog

VersionDescription
5.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.