For the property names, see the results of a specific IP in the wordpress backend (under Tools > Geolocation IP Detection).geoip_detect2_get_client_ip(): Get client IP (even if it is behind a reverse proxy).geoip_detect2_get_external_ip_adress(): Fetch the internet adress of the webserver.geoip_detect2_get_current_source_description(.): Return a human-readable label of the currently chosen source.geoip_detect2_get_info_from_current_ip($locales = array('en'), $options = array()): Lookup Geo-Information of the current website user.geoip_detect2_get_info_from_ip($ip, $locales = array('en'), $options = array()): Lookup Geo-Information of the specified IP.Provides these 5 functions (see API Documentation):.Hosting-Provider dependent: Cloudflare or Amazon AWS CloudFront (Country).
MAXMIND GEOLOCATION FREE
Free with registration: Maxmind GeoIP2 Lite City, automatically updated weekly.You can use one of these data sources (see comparison):.The city & country names are translated in different languages ( supported languages). This can be used in themes or other plugins, as a shortcode, or via CSS body classes. Provides geographic information detected by an IP adress.