WP_Block_Type_Registry::get_all_registered(): WP_Block_Type[]

Retrieves all registered block types.


Return

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


Top ↑

Source

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

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

Top ↑

Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes

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