Automattic\WooCommerce\Blocks\Payments
PaymentMethodTypeInterface::is_active
Returns if this payment method should be active. If false, the scripts will not be enqueued.
Method of the class: PaymentMethodTypeInterface{}
No Hooks.
Returns
boolean.
Usage
$PaymentMethodTypeInterface = new PaymentMethodTypeInterface(); $PaymentMethodTypeInterface->is_active();
PaymentMethodTypeInterface::is_active() PaymentMethodTypeInterface::is active code WC 11.0.1
public function is_active();