WordPress at a glance
function is not described

WP_Block_Type_Registry::get_all_registered() public WP 5.0.0

Retrieves all registered block types.

{} It's a method of the class: WP_Block_Type_Registry{}

No Hooks.

Return

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

Usage

$WP_Block_Type_Registry = new WP_Block_Type_Registry();
$WP_Block_Type_Registry->get_all_registered();

Changelog

Since 5.0.0 Introduced.

Code of WP_Block_Type_Registry::get_all_registered() WP 5.7.2

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