Add filter for used payment method
MAILPOET-4993
This commit is contained in:
committed by
Aschepikov
parent
a976006a2c
commit
ec68818c1a
@@ -223,4 +223,8 @@ class Helper {
|
||||
|
||||
return $coupon ? $coupon->post_title : null; // phpcs:ignore Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps
|
||||
}
|
||||
|
||||
public function getPaymentGateways() {
|
||||
return $this->WC()->payment_gateways();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user