🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
Live User IP and Location

Live User IP and Location

0/5 (0 ratings) 10 active installs Updated Oct 26, 2025
Settings page: API Key input, Test button, Cache TTL selector, and IP anonymization toggle.

Settings page: API Key input, Test button, Cache TTL selector, and IP anonymization toggle.

Live User IP and Location integrates with ipapi.co to fetch visitor geolocation and network data and provides shortcodes to display that data anywhere on your site.

Key features:
* Robust server-side IP detection using common headers.
* Optional IP anonymization to mask the most specific part of the IP (IPv4 and IPv6).
* Per-IP transient caching with configurable TTL to reduce external API calls.
* Admin settings page with API Key Test (AJAX + nonce + capability checks).
* 29 shortcodes to output IP and location data fields.
* Safe and standards-compliant implementation with i18n support.

Third-Party Services

This plugin uses the ipapi.co service to provide geolocation data. By using this plugin you agree to the ipapi.co terms of use and privacy policy:
* https://ipapi.co/terms/
* https://ipapi.co/privacy/

Usage

Place any of the provided shortcodes in posts, pages, or widgets to display IP or location data. Example shortcodes:
[luipl_ip], [luipl_network], [luipl_version], [luipl_city], [luipl_region], [luipl_region_code], [luipl_country], [luipl_country_name], [luipl_country_code], [luipl_country_code_iso3], [luipl_country_capital], [luipl_country_tld], [luipl_continent_code], [luipl_in_eu], [luipl_postal], [luipl_latitude], [luipl_longitude], [luipl_timezone], [luipl_utc_offset], [luipl_country_calling_code], [luipl_currency], [luipl_currency_name], [luipl_languages], [luipl_country_area], [luipl_country_population], [luipl_asn], [luipl_org], [luipl_all_fields]

Support

For support and further information, visit https://profiles.wordpress.org/obedullah/ or open a support thread on the WordPress plugin page.

License

This plugin is licensed under the GPL v3 or later. For more information, see https://www.gnu.org/licenses/gpl-3.0.html.

Credits

This plugin uses the IP geolocation service provided by IPAPI (https://ipapi.co/). Thanks to IPAPI for providing geolocation data.