Hide Vietnam's state field
When you choose the country 'Vietnam' from a woocommerce website, the state field is hidden. So I added to be hidden in this class too.
This commit is contained in:
parent
1e992cfad7
commit
052a6c6489
|
@ -1244,6 +1244,7 @@ class WC_Countries {
|
||||||
'VN' => array(
|
'VN' => array(
|
||||||
'state' => array(
|
'state' => array(
|
||||||
'required' => false,
|
'required' => false,
|
||||||
|
'hidden' => true,
|
||||||
),
|
),
|
||||||
'postcode' => array(
|
'postcode' => array(
|
||||||
'priority' => 65,
|
'priority' => 65,
|
||||||
|
|
Loading…
Reference in New Issue