mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add wc payment gateway boilerplate
This commit is contained in:
parent
7b22040710
commit
a65d4fb2dc
3 changed files with 81 additions and 1 deletions
|
@ -30,6 +30,10 @@ class LocalAlternativePaymentMethodsModule implements ModuleInterface {
|
|||
}
|
||||
|
||||
public function run(ContainerInterface $c): void {
|
||||
add_filter('woocommerce_payment_gateways', function ($methods) use ($c) {
|
||||
$methods[] = $c->get('ppcp-local-apms.bancontact.wc-gateway');
|
||||
|
||||
return $methods;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue