The following gist includes example use cases for the developer hooks provided by IP Location Block.
Learn how to use the plugin and the developer hooks
The associative array for validation.
The HTTP status code when the blocking occurs.
The message of the reason when the blocking occurs.
This filter hook will be applied when forbidden uploading is detected. Warning: The filter hook ip-location-block-forbidden-upload was abolished in release 0.3.0.4 , but is replaced to ip-location-block-upload-forbidden.
Overwrite the upload_files capability.
Specify the condition of recording logs.
The URI to MaxMind GeoLite Legacy database for IPv6.
The URI to MaxMind GeoLite Legacy database for IPv4.
The absolute path to the directory where MaxMind database is installed.