WP_Block_Styles_Registry::get_all_registered()publicWP 5.3.0

Retrieves all registered block styles.

Method of the class: WP_Block_Styles_Registry{}

No Hooks.

Return

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

Usage

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

Changelog

Since 5.3.0 Introduced.

WP_Block_Styles_Registry::get_all_registered() code WP 6.1.1

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