WP_Block_Type_Registry::get_all_registered()

Retrieves all registered block types.


Return Return

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


Top ↑

Source Source

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

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

Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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