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.
Return
true|false
.
Usage
$PaymentMethodTypeInterface = new PaymentMethodTypeInterface(); $PaymentMethodTypeInterface->is_active();
PaymentMethodTypeInterface::is_active() PaymentMethodTypeInterface::is active code WC 8.7.0
public function is_active();