Function __global->handle_perceived_spammer_by_confidence
Definitions
sources/antispam.php
- Deal with a perceived spammer.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$user_ip | IP | required parameter | N/A | N/A | IP address |
$confidence_level | float | required parameter | N/A | N/A | Confidence level (0.0 to 1.0) |
$blocked_by | ID_TEXT | required parameter | N/A | N/A | Identifier for whatever did the blocking |
$page_level | boolean | required parameter | N/A | N/A | Whether this is a page level check (i.e. we won't consider blocks or approval, just ban setting) |
$confidence_by_criterion | array | [] | N/A | N/A | Array of criteria matched to their specific confidence level (0.0 to 1.0) |