mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Fix the name of 'pay later' check for mapped locations
This commit is contained in:
parent
26bc7ce02c
commit
7e1277e4ff
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class StylingSettingsMapHelper {
|
|||
$enabled_locations = array();
|
||||
$locations = array_flip( $this->locations_map() );
|
||||
foreach ( $styling_models as $model ) {
|
||||
if ( ! $model->enabled || ! in_array( 'paylater', $model->methods, true ) ) {
|
||||
if ( ! $model->enabled || ! in_array( 'pay-later', $model->methods, true ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue