This filter hook will be applied when forbidden uploading is detected.
ip-geo-block-forbidden-uploadwas abolished in release 3.0.4 , but is replaced to
|string||‘ip’||validated ip address|
|bool||‘auth’||authenticated or not|
|string||‘result’||reason of blocking (‘passed’, ‘blocked’)|
The following code snippet can handle the uploaded files.
"mu-plugins" (ip-geo-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.