The absolute path to IP2location database file for IPv4.
The filter hook “ip-location-block-ip2location-path” assigns the absolute path to IP2Location database file for IPv4.
If you’d like to share the database file with other WordPress plugins like IP2Location Tags (or other free plugins), the following code snippet in your theme’s
functions.php may help you.
NOTE: When you select
"mu-plugins" (ip-location-block-mu.php)as Validation timing , you should put your code snippet into
drop-in.phpin Geolocation API folder instead of
functions.php. See My custom functions in “functions.php” doesn’t work. in FAQ for detail.
Leave a Reply