WP_Block_Bindings_Registry::get_all_registered()publicWP 6.5.0

Retrieves the list of all registered block bindings sources.

Method of the class: WP_Block_Bindings_Registry{}

No Hooks.

Return

WP_Block_Bindings_Source[]. The array of registered sources.

Usage

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

Changelog

Since 6.5.0 Introduced.

WP_Block_Bindings_Registry::get_all_registered() code WP 6.5.4

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