Automattic\WooCommerce\Blocks\Integrations
IntegrationRegistry::is_registered
Checks if an integration is already registered.
Method of the class: IntegrationRegistry{}
No Hooks.
Returns
true|false. True if the integration is registered, false otherwise.
Usage
$IntegrationRegistry = new IntegrationRegistry(); $IntegrationRegistry->is_registered( $name );
- $name(string) (required)
- Integration name.
IntegrationRegistry::is_registered() IntegrationRegistry::is registered code WC 10.3.5
public function is_registered( $name ) {
return isset( $this->registered_integrations[ $name ] );
}