Action: gf_zero_spam_token_rejected
Fires when a submission is rejected by the Zero Spam token check.
Parameters
| Name | Type | Description |
|---|---|---|
| $reason_code | string | Raw rejection reason code. Accepted values: token_missing, bad_format, expired, form_mismatch, sig_invalid, legacy_missing, legacy_invalid. |
| $form | array | The form currently being processed. |
| $entry | array | The entry currently being processed. Note: pre-save entry; no ID yet. |
Since
Source
Defined in includes/class-gf-zero-spam.php at line 574