Filter: gform_is_disabled_duplicate_submissions_protection
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form_id
Example hook names:
gform_is_disabled_duplicate_submissions_protection(base hook)gform_is_disabled_duplicate_submissions_protection_1(with first modifier value)
Allows users to disable duplicate submissions protection, either globally or on a form-by-form basis.
Parameters
| Name | Type | Description |
|---|---|---|
| $ | bool | Passes a false value by default. |
| $ | int|string | Passes the current form ID. |
Since
Source
Defined in includes/duplicate-submissions/class-gf-duplicate-submissions-handler.php at line 63