mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
New Settings UI: Disable settings in send-only countries
This commit is contained in:
parent
cb8c3f8726
commit
a3989401de
5 changed files with 36 additions and 7 deletions
|
@ -63,6 +63,7 @@ return array(
|
|||
return new CommonSettings(
|
||||
$container->get( 'api.shop.country' ),
|
||||
$container->get( 'api.shop.currency.getter' )->get(),
|
||||
$container->get( 'wcgateway.is-send-only-country' )
|
||||
);
|
||||
},
|
||||
'settings.rest.onboarding' => static function ( ContainerInterface $container ) : OnboardingRestEndpoint {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue