crp_bot_protection_signatures
Filters the list of default bot signatures before evaluation.
Type: filter
Since: 4.2.0
Source: includes/pro/class-bot-protection-module.php line 281
Parameters
| Type | Name | Description |
|---|---|---|
string[] |
$signatures |
Array of bot signatures. |
string |
$user_agent |
Current user agent string. |
Usage
add_filter( 'crp_bot_protection_signatures', function($signatures, $user_agent) {
// ...
return $signatures;
} );