Add filter for used payment method

MAILPOET-4993
This commit is contained in:
John Oleksowicz
2023-05-10 12:23:09 -05:00
committed by Aschepikov
parent a976006a2c
commit ec68818c1a
16 changed files with 427 additions and 1 deletions

View File

@@ -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();
}
}