Specify the condition of recording logs.
The filter hook “ip-location-block-record-logs” can change the condition of recording logs depending on the situation.
(int) Type of recording (0:none 1:blocked 2:passed 3:unauth 4:auth 5:all).
(array) An associative array for validation result.
The following code snippet in your theme’s
functions.php can bypass WP-ZEP validation against the direct request to
"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.