mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Enable local apms setting by default on new installations
This commit is contained in:
parent
42192ede97
commit
b69c924f6a
1 changed files with 1 additions and 0 deletions
|
@ -506,6 +506,7 @@ class WCGatewayModule implements ModuleInterface {
|
|||
|
||||
if ( ! $installed_plugin_version && $settings->has( 'allow_local_apm_gateways' ) ) {
|
||||
$settings->set( 'allow_local_apm_gateways', true );
|
||||
$settings->persist();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue