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