WP_Block_Pattern_Categories_Registry::get_all_registered

Advertisement

Summery Summery

Retrieves all registered pattern categories.

Syntax Syntax

WP_Block_Pattern_Categories_Registry::get_all_registered()

Return Return

(array) Array of arrays containing the registered pattern categories properties.

Source Source

File: wp-includes/class-wp-block-pattern-categories-registry.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Advertisement

Leave a Reply