Filter: gform_is_asynchronous_notifications_enabled
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form_id
Example hook names:
gform_is_asynchronous_notifications_enabled(base hook)gform_is_asynchronous_notifications_enabled_1(with first modifier value)
Allows async (background) processing of notifications to be enabled or disabled.
Parameters
| Name | Type | Description |
|---|---|---|
| $is_enabled | bool | Is async (background) processing of notifications enabled? Defaults to the value of the gform_enable_async_notifications option. |
| $event | string | The event the notifications are to be sent for. |
| $notifications | array | An array containing the IDs of the notifications to be sent. |
| $form | array | The form currently being processed. |
| $entry | array | The entry currently being processed. |
| $data | array | An array of data which can be used in the notifications via the generic {object:property} merge tag. Defaults to empty array. |
Since
Source
Defined in includes/async/class-gf-notifications-processor.php at line 154