WP_Block_Styles_Registry::get_all_registered() WordPress Method

The WP_Block_Styles_Registry::get_all_registered() method is used to retrieve all registered block styles. Block styles are registered using the register_block_style() function.

WP_Block_Styles_Registry::get_all_registered() #

Retrieves all registered block styles.


Return

(array[]) Array of arrays containing the registered block styles properties grouped by block type.


Top ↑

Source

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

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

Top ↑

Changelog

Changelog
VersionDescription
5.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.