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:
John 2019-07-16 02:23:59 +03:00 committed by GitHub
parent 1e992cfad7
commit 052a6c6489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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,