Filter: gform_akismet_enabled
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form_id
Example hook names:
gform_akismet_enabled(base hook)gform_akismet_enabled_1(with first modifier value)
Allows the Akismet integration to be enabled or disabled.
Parameters
| Name | Type | Description |
|---|---|---|
| $enabled | bool | Indicates if the Akismet integration is enabled. |
| $form_id | int | The ID of the form being processed. |
Since
Source
Defined in common.php at line 4539