mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Add option to hide funding resource Trustly
This commit is contained in:
parent
fddd6c35e9
commit
4f1f326172
2 changed files with 2 additions and 1 deletions
|
@ -142,7 +142,7 @@ class SettingsImporter {
|
|||
$value = array_values(
|
||||
array_intersect(
|
||||
array_map( 'strtolower', is_array( $option_value ) ? $option_value : array() ),
|
||||
array( 'card', 'sepa', 'bancontact', 'blik', 'eps', 'giropay', 'ideal', 'mercadopago', 'mybank', 'p24', 'sofort', 'venmo' )
|
||||
array( 'card', 'sepa', 'bancontact', 'blik', 'eps', 'giropay', 'ideal', 'mercadopago', 'mybank', 'p24', 'sofort', 'venmo', 'trustly' )
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
@ -862,6 +862,7 @@ return array(
|
|||
'p24' => _x( 'Przelewy24', 'Name of payment method', 'woocommerce-paypal-payments' ),
|
||||
'sofort' => _x( 'Sofort', 'Name of payment method', 'woocommerce-paypal-payments' ),
|
||||
'venmo' => _x( 'Venmo', 'Name of payment method', 'woocommerce-paypal-payments' ),
|
||||
'trustly' => _x( 'Trustly', 'Name of payment method', 'woocommerce-paypal-payments' ),
|
||||
);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue