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 absolute path to the directory where MaxMind database is installed.
Filter each entry in “Validation logs” and register “Preset filters” for “Search in logs”.
The URI to MaxMind GeoLite Legacy database for IPv4.
The URI to MaxMind GeoLite Legacy database for IPv6.
Specify the condition of recording logs.
Overwrite the upload_files capability.
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.
The message of the reason when the blocking occurs.
The HTTP status code when the blocking occurs.