Linux 软件免费装
Banner图

IP2Location Variables

开发者 IP2Location
更新时间 2026年8月21日 13:03
捐献地址: 去捐款
PHP版本: 2.0 及以上
WordPress版本: 7.1

标签

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

下载

2.9.0 2.7.3 2.8.1 2.8.2 2.5.0 2.5.1 2.8.0 2.8.5 2.8.6 2.4.0 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.10.0 2.10.1 2.5.11 2.5.9 2.7.2 2.8.3 2.8.4 2.9.7 2.9.9 2.9.1 2.9.10 2.9.2 2.9.4 2.9.5 2.9.6 2.9.8

详情介绍:

这个有用的库可以轻松方便地找到网站访问者的位置,并提供基于 IP 地址查找的地理信息。它还可以用于在特定位置的帖子中显示地理数据信息,并帮助您创建地理目标营销活动。 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 在任何页面、插件或主题中调用函数 ip2location_get_vars() 以检索 IP2Location 变量。变量将在对象内返还。要使用查找自定义 IP,请使用 ip2location_get_vars('IP_ADDRESS'); 更多的信息 Please visit us at https://www.ip2location.com

安装:

我们一直推荐通过插件菜单的自动安装。如果您遇到困难,请执行以下手动安装步骤:
  1. Upload ip2location folder to the /wp-content/plugins/ directory.
  2. 通过 WordPress 的“插件”菜单以激活本插件。
  3. 您现在可以开始使用 IP2Location Variables 来自定义您的内容。
Please take note that this plugin requires minimum PHP version 5.4.

更新日志: