Automattic\WooCommerce\Blocks\Integrations
IntegrationRegistry::get_registered()
Retrieves a registered Integration by name.
Method of the class: IntegrationRegistry{}
No Hooks.
Return
IntegrationInterface|null
. The registered integration, or null if it is not registered.
Usage
$IntegrationRegistry = new IntegrationRegistry(); $IntegrationRegistry->get_registered( $name );
- $name(string) (required)
- Integration name.
IntegrationRegistry::get_registered() IntegrationRegistry::get registered code WC 9.8.1
public function get_registered( $name ) { return $this->is_registered( $name ) ? $this->registered_integrations[ $name ] : null; }