WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Payments\Integrations

Stripe::is_active() public WC 1.0

Returns if this payment method should be active. If false, the scripts will not be enqueued.

{} It's a method of the class: Stripe{}

No Hooks.

Return

true|false.

Usage

$Stripe = new Stripe();
$Stripe->is_active();

Code of Stripe::is_active() WC 5.7.1

public function is_active() {
	return ! empty( $this->settings['enabled'] ) && 'yes' === $this->settings['enabled'];
}