The absolute path to the directory where MaxMind GeoLite2 database is installed.
The filter hook “ip-location-block-geolite2-dir” assigns the absolute path to the directory where the GeoLite2 Free Downloadable Database is installed.
If you want change it to your
/wp-content/uploads/ directory, put the following code snippet into the
functions.php in your theme.
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