All features
Cherry Blossom feature
Gravity Forms: Provider base
Provides common behavior for address lookup providers.
Provides common behavior for address lookup providers.
Capabilities and extension points
Gets supported ISO country codes.
- return array Supported country codes.
Determines whether the provider supports a country.
- param string $country ISO country code.
- return bool Whether the country is supported.
Normalizes lookup arguments.
- param string $postcode Postal code.
- param string $house_number House number.
- param string $addition House-number addition.
- param string $country ISO country code.
- return array Normalized arguments.
Normalizes provider address data.
- param mixed $address Raw address data.
- return array|\WP_Error Normalized address data or an error.
Source reference
This editable reference page is based on the PHP documentation in plugins/gravity-forms/address-lookup/abstract-provider.php.