ip-location-block-ip2location-zip-ipv4

Posted on May 11, 2021

The URI to IP2Location LITE database for IPv4.

Description

The filter hook “ip-location-block-ip2location-zip-ipv4” assigns the URI to Free IP2Location LITE database file for IPv4 which can be downloaded by ZIP format.

Parameters

  • $url
    (string) https://download.ip2location.com/lite/IP2LOCATION-LITE-DB1.BIN.ZIP
NOTE: When you select "mu-plugins" (ip-location-block-mu.php) as Validation timing , you should put your code snippet into drop-in.php in Geolocation API folder instead of functions.php. See My custom functions in “functions.php” doesn’t work. in FAQ for detail.

Use case

Currently, this plugin supports only DB1.LITE database.

Since

0.2.2.1