Automattic\WooCommerce\Blocks\Payments

PaymentMethodTypeInterface::is_activepublicWC 1.0

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

Method of the class: PaymentMethodTypeInterface{}

No Hooks.

Returns

true|false.

Usage

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

PaymentMethodTypeInterface::is_active() code WC 9.9.3

public function is_active();