Skip to main content

Filter: gform_entry_is_spam

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $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

NameTypeDescription
$is_spamboolIndicates if the submission has been flagged as spam.
$formarrayThe form currently being processed.
$entryarrayThe entry currently being processed.

Since

  • 1.8.17
  • 2.4.17: Moved from GFFormDisplay::handle_submission().

Source

Defined in common.php at line 4854