mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Fix skip conditional
This commit is contained in:
parent
73be9a11d9
commit
ba10ef98f3
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ class VaultingModule implements ModuleInterface {
|
|||
foreach ( $customers as $id ) {
|
||||
$metadata_exist = metadata_exists( 'user', $id, 'ppcp-vault-token' );
|
||||
$skip_empty_key_migration = apply_filters( 'ppcp_skip_payment_tokens_empty_key_migration', true );
|
||||
if ( ! $metadata_exist && ! $skip_empty_key_migration ) {
|
||||
if ( ! $metadata_exist && $skip_empty_key_migration ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue