Automattic\WooCommerce\Blocks\Payments

PaymentMethodTypeInterface::is_active()publicWC 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.

Return

true|false.

Usage

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

PaymentMethodTypeInterface::is_active() code WC 8.7.0

public function is_active();