mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Add predefined list of button names to check for enabled/disabled state
This commit is contained in:
parent
b2d870bdca
commit
0a0603af51
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ class StylingSettingsMapHelper {
|
||||||
|
|
||||||
use ContextTrait;
|
use ContextTrait;
|
||||||
|
|
||||||
|
protected const BUTTON_NAMES = array( 'googlepay', 'applepay', 'pay-later' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maps old setting keys to new setting style names.
|
* Maps old setting keys to new setting style names.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue