WP_Block_Patterns_Registry::get_all_registered

Advertisement

Summery Summery

Retrieves all registered patterns.

Syntax Syntax

WP_Block_Patterns_Registry::get_all_registered()

Return Return

(array) Array of arrays containing the registered patterns properties, and per style.

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.