set_spam_filter()
public static function set_spam_filter( $form_id, $filter, $reason )
Sets the name of the spam filter that flagged entry as spam during a form submission.
Since: 2.7
Source: common.php:4855
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$form_id | int | Current form id. | |
$filter | string | Name of spam filter that marked entry as spam. (i.e. Akismet or Honeypot ). | |
$reason | string | The reason this entry was flagged as spam. |