Using Gravity Forms ‘gform_form_notification_page’ PHP action

The gform_form_notification_page filter allows you to modify the form used in the notification page.


To apply the filter to all forms:

add_filter('gform_form_notification_page', 'your_function_name', 10, 2);

To target a specific form, append the form ID to the hook name:

add_filter('gform_form_notification_page_1', 'your_function_name', 10, 2);


  • $form (Form Object): The current form.
  • $notification_id (int): The notification ID.

More information

See Gravity Forms Docs: gform_form_notification_page


Use master form for notifications

This example assumes you have a master form (ID 79) with all the necessary notifications. When editing a notification on a different form, all notifications from the master form will be saved to the new form. Any changes made to notifications on the new form will be overwritten by the master form’s notifications once a notification is saved.

add_filter('gform_form_notification_page', 'use_master_form', 10, 2);

function use_master_form($form, $notification_id) {
    if ($form['id'] == '45') {
        // Use master form with notifications for all forms
        $form = GFFormsModel::get_form_meta(79);
    return $form;

Place this code in the functions.php file of your active theme.

This filter was added in Gravity Forms version 1.8.6.

The source code for this filter is located in GFNotification::notification_edit_page() in notification.php.