Plugin Planet

Premium WordPress Plugins

Blackhole Pro provides plenty of hooks for customizing and extending functionality. Here is a complete list for reference.

Action Hooks

Action Description
blackhole_trigger Fires when the blackhole trigger is added to the page
blackhole_scanner Fires when the blackhole scanner checks the request
blackhole_settings_contextual_help Fires when the Settings Contextual Help is displayed
blackhole_badbots_contextual_help Fires when the Bad Bots Log Contextual Help is displayed
blackhole_license_contextual_help Fires when the License Contextual Help is displayed

Filter Hooks

Filter Description
blackhole_options Filters the default plugin options array
blackhole_badbots Filters the default array of bad bots
blackhole_default_bot Filters the example bad bot array
blackhole_get_options Filters the global Blackhole options array
blackhole_get_badbots Filters the global Blackhole bad bots array
blackhole_trigger_default Filters the default blackhole trigger output
blackhole_trigger_image Filters the image trigger output
blackhole_trigger_custom Filters the custom trigger output
blackhole_vars Filters the array of variables retrieved for each bot
blackhole_date Filters the date string for each bad bot
blackhole_geo_url Filters the raw Geo/IP Lookup results
blackhole_geo_data Filters the array of JSON-formatted Geo/IP Lookup data
blackhole_ip_filter Filters flags for the IP validation function
blackhole_ip_keys Filters headers for the IP detection function
blackhole_alert_name Filters the name for email alerts
blackhole_alert_subject Filters the subject for email alerts
blackhole_alert_headers Filters the headers for email alerts
blackhole_alert_message Filters the message for email alerts
blackhole_alert_custom Filters the message for custom email alerts
blackhole_log Filters the array of bot data added to the Bad Bot Log
blackhole_needle Filters the log field that is checked for existing bots
blackhole_message_default Filters the default message displayed to blocked bots
blackhole_message_custom Filters the custom message displayed to blocked bots
blackhole_message_void Filters the “Into the Void” message displayed to blocked bots
blackhole_output_redgiant Filters the “Red Giant” message displayed to blocked bots
blackhole_ignore_backend Filters whether or not to ignore the WP Admin Area
blackhole_ignore_login Filters whether or not to ignore the WP Login Page
blackhole_block_status Filters the status code sent to blocked bots
blackhole_block_protocol Filters the protocol used for blocked bots
blackhole_block_connection Filters the Connection header for blocked bots
blackhole_template_filename Filters the file name of the custom warning template
blackhole_allowed_tags Filters the array of allowed tags for plugin settings
blackhole_status_codes Filters the array of available Status Codes
blackhole_log_data Filters the returned array of bad bots in search results

If you need a hook added, drop me a line, will be glad to hook it up ;)