hide postcode field for Ghana addresses

This commit is contained in:
tolu-paystack 2020-04-24 00:23:30 +01:00
parent 5f0badbdf7
commit cab7c5b8a1
1 changed files with 10 additions and 0 deletions

View File

@ -944,6 +944,16 @@ class WC_Countries {
'required' => false,
),
),
'GH' => array(
'postcode' => array(
'label' => __( 'Postcode', 'woocommerce' ),
'required' => false,
'hidden' => true,
),
'state' => array(
'label' => __( 'State', 'woocommerce' ),
),
),
'GP' => array(
'state' => array(
'required' => false,