Automattic\WooCommerce\Blocks\Integrations
IntegrationRegistry::is_registered()
Checks if an integration is already registered.
Method of the class: IntegrationRegistry{}
No Hooks.
Return
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 9.8.2
public function is_registered( $name ) { return isset( $this->registered_integrations[ $name ] ); }