Gravity Forms Address Enhanced v1.4.0

Gravity Forms Address Enhanced v1.4.0 adds provinces of Zambia (ZM); is WooCommerce 3.8 compatible; and adds new PHP functions for developers.

WooCommerce 3.8

WooCommerce 3.8 will add support for the provinces of Zambia (code ZM) in the checkout, so I’ve added them to this plugin to ensure compatibility.

WooCommerce is also standardising on the English spelling of Macao, a Special Administration Region of China. Gravity Forms still uses the Portuguese spelling Macau in its list of countries, but website visitors expecting to find Macao in the list of provinces in China will be more familiar with the standard English spelling. Gravity Forms Address Enhanced now uses Macao.

PHP functions

For developers building websites that incorporate Gravity Forms Address Enhanced into custom workflows, there are now some useful functions to help. With v1.4.0 you can easily convert an ISO country code to its translated name in Gravity Forms, and the code used for states and provinces internally can be converted easily to the full ISO subdivision code or the WooCommerce code, or indeed the name of the state / province. See the new functions in the reference manual.

You can update to the latest version from your WordPress plugin admin page. Here’s the full changelog for Gravity Forms Address Enhanced.