WP_Connector_Registry::get_all_registeredpublicWP 7.0.0

Retrieves the list of all registered connectors.

Do not use this method directly. Instead, use the wp_get_connectors()

Method of the class: WP_Connector_Registry{}

No Hooks.

Returns

Array. Connector settings keyed by connector ID.

Usage

$WP_Connector_Registry = new WP_Connector_Registry();
$WP_Connector_Registry->get_all_registered(): array;

Notes

Changelog

Since 7.0.0 Introduced.

WP_Connector_Registry::get_all_registered() code WP 7.0

public function get_all_registered(): array {
	return $this->registered_connectors;
}