Skip to main content

Filter: gform_notification_enable_cc

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form['id']
  2. $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

NameTypeDescription
$enable_ccboolShould the CC header be enabled?
$notificationarrayThe current notification object.
$fromarrayThe current form object.

Since

Source

  • Defined in common.php at line 2091
  • Defined in notification.php at line 403