WordPress at a glance
function is not described

WP_Block_Pattern_Categories_Registry::get_all_registered() public WP 5.5.0

Retrieves all registered pattern categories.

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

No Hooks.

Return

Array. Array of arrays containing the registered pattern categories properties.

Usage

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

Changelog

Since 5.5.0 Introduced.

Code of WP_Block_Pattern_Categories_Registry::get_all_registered() WP 5.5.2

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