The absolute path to MaxMind GeoLite2 database file for IPv4 and IPv6.
The filter hook “ip-location-block-geolite2-path” assigns the absolute path to the installed GeoLite2 Free Downloadable Database file.
If you’d like to use GeoLite2 City database, put the following code snippet into the
functions.php in your theme.
"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.