Menu

Gravity Forms Address Enhanced

Gravity Forms Address Enhanced

Extend the Gravity Forms address field, with better WooCommerce integration.

Filter hooks

Developers can customise the behaviour of the plugin through filter hooks. There are some useful filter hooks supported by this plugin, and by Gravity Forms itself.

  1. gf_address_enhanced_country_file

    • string $filepath
    • string $country_code
    • return string

    Developers can add their own country and state/province definitions, overriding those provided in the plugin. See the folder includes/countries/ for examples.

  2. gf_address_enhanced_smart_states_countries

    • array $countries
    • return array

    Developers can add or remove countries that should be supported for Smart States dropdowns.