mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Allow to override the list of Pay Later supported countries
This commit is contained in:
parent
796ded031e
commit
381041138c
3 changed files with 24 additions and 14 deletions
|
@ -320,6 +320,7 @@ return array(
|
|||
},
|
||||
'button.helper.messages-apply' => static function ( ContainerInterface $container ): MessagesApply {
|
||||
return new MessagesApply(
|
||||
$container->get( 'api.paylater-countries' ),
|
||||
$container->get( 'api.shop.country' )
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue