Retrieves all registered patterns.
(array) Array of arrays containing the registered patterns properties, and per style.
File: wp-includes/class-wp-block-patterns-registry.php
public function get_all_registered() { return array_values( $this->registered_patterns ); }
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_block_patterns_registry/get_all_registered