Merge pull request #21018 from Luminus/fix-21016
Make city field optional and hidden for Singapore addresses
This commit is contained in:
commit
a637fe10b8
|
@ -1058,6 +1058,10 @@ class WC_Countries {
|
||||||
'state' => array(
|
'state' => array(
|
||||||
'required' => false,
|
'required' => false,
|
||||||
),
|
),
|
||||||
|
'city' => array(
|
||||||
|
'required' => false,
|
||||||
|
'hidden' => true,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
'SK' => array(
|
'SK' => array(
|
||||||
'postcode' => array(
|
'postcode' => array(
|
||||||
|
|
Loading…
Reference in New Issue