WordPress at Your Fingertips
function is not described

WP_Block_Styles_Registry::get_all_registered() public WP 5.3.0

Retrieves all registered block styles.

{} It's a method of the class: WP_Block_Styles_Registry{}

No Hooks.

Return

Array. Array of arrays containing the registered block styles properties grouped per block, and per style.

Usage

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

Changelog

Since 5.3.0 Introduced.

Code of WP_Block_Styles_Registry::get_all_registered() WP 5.8.1

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