From e214a85a8ca3eede07756b00a0b4bbfef944473e Mon Sep 17 00:00:00 2001 From: jorgept Date: Sun, 19 May 2019 22:23:36 +0100 Subject: [PATCH] Update class-wc-countries.php Add MZ array postcode => false, hidden => true --- includes/class-wc-countries.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/includes/class-wc-countries.php b/includes/class-wc-countries.php index 60b3117c637..ec2b986e48a 100644 --- a/includes/class-wc-countries.php +++ b/includes/class-wc-countries.php @@ -1036,6 +1036,15 @@ class WC_Countries { 'required' => false, ), ), + 'MZ' => array( + 'postcode' => array( + 'required' => false, + 'hidden' => true, + ), + 'state' => array( + 'label' => __( 'Province', 'woocommerce' ), + ), + ), 'NL' => array( 'postcode' => array( 'priority' => 65,