Linux 软件免费装
Banner图

IP2Location Variables

开发者 IP2Location
更新时间 2025年12月3日 15:24
捐献地址: 去捐款
PHP版本: 2.0 及以上
WordPress版本: 6.9

标签

geolocation ip location geo-targeting ip2location ipv4 ipv6 targeted content ip2location library php library

下载

2.9.0 2.7.2 2.7.3 2.8.1 2.8.2 2.5.0 2.5.1 2.4.0 2.8.0 2.8.3 2.8.4 2.8.5 2.8.6 2.3.0 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.6.0 2.7.1 2.7.0 2.8.7 2.9.3 2.5.11 2.5.9 2.9.1 2.9.2 2.9.4 2.9.5 2.9.6 2.9.7 2.9.8 2.9.9

详情介绍:

This useful library makes it easy to conveniently find website visitors location and provides geographic information based on IP address lookup. It also can be used to display geo-data info in posts for specific locations and to help you create geo-target marketing campaigns. It is a library derived from https://www.ip2location.com/developers/php but works as a Wordpress plugin to simplify the setup and ease the integration work. It supports both the IPv4 and IPv6 address. Below are the geolocation information you can retrieve from this library: BIN file download: IP2Location Commercial database | IP2Location LITE database (free edition) If you are using the IP2Location IP geolocation web service, please visit IP2Location Web Service for details. Usage Call the function ip2location_get_vars() in any pages, plugins, or themes to retrieve IP2Location variables. The variables are returned in object. To use lookup for a custom IP, use ip2location_get_vars('IP_ADDRESS'); More Information Please visit us at https://www.ip2location.com

安装:

We always recommend the automatic installation via the plugin menu. In case you having the difficulties to do so, below are the manual install steps:
  1. Upload ip2location folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. You can now start using IP2Location Variables to customize your contents.
Please take note that this plugin requires minimum PHP version 5.4.

更新日志: