Filter: gform_notification_enable_cc
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form['id']$notification['id']
Example hook names:
gform_notification_enable_cc(base hook)gform_notification_enable_cc_1(with first modifier value)gform_notification_enable_cc_1_2(with all modifier values)
Enable the CC header for the notification.
Parameters
| Name | Type | Description |
|---|---|---|
| $enable_cc | bool | Should the CC header be enabled? |
| $notification | array | The current notification object. |
| $from | array | The current form object. |
Since
Source
- Defined in
common.phpat line 2091 - Defined in
notification.phpat line 403