Filter: gform_entry_is_spam
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form_id
Example hook names:
gform_entry_is_spam(base hook)gform_entry_is_spam_1(with first modifier value)
Allows submissions to be flagged as spam by custom methods.
Parameters
| Name | Type | Description |
|---|---|---|
| $is_spam | bool | Indicates if the submission has been flagged as spam. |
| $form | array | The form currently being processed. |
| $entry | array | The entry currently being processed. |
Since
- 1.8.17
- 2.4.17: Moved from GFFormDisplay::handle_submission().
Source
Defined in common.php at line 4854