Skip to main content

Filter: gform_akismet_enabled

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

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

NameTypeDescription
$enabledboolIndicates if the Akismet integration is enabled.
$form_idintThe ID of the form being processed.

Since

Source

Defined in common.php at line 4539