mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Map the "Disable specific credit cards".
This will allow to bind the setting with the frontend.
This commit is contained in:
parent
6eb5e9f0d9
commit
83bd078eb9
1 changed files with 6 additions and 0 deletions
|
@ -158,6 +158,12 @@ return array(
|
||||||
'sandbox_merchant_email' => 'merchant_email',
|
'sandbox_merchant_email' => 'merchant_email',
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
new SettingsMap(
|
||||||
|
$container->get( 'settings.data.settings' ),
|
||||||
|
array(
|
||||||
|
'disable_cards' => 'disabled_cards',
|
||||||
|
)
|
||||||
|
),
|
||||||
new SettingsMap(
|
new SettingsMap(
|
||||||
$container->get( 'settings.data.styling' ),
|
$container->get( 'settings.data.styling' ),
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue