gform_default_notification

Description

Use this filter to disable the default admin notification automatically generated for new forms.

Usage

add_filter( 'gform_default_notification', '__return_false' );

Parameters

  • $is_enabled bool
    Passes true, return false to disable.

Examples

Here is the simplest way to use this hook:

add_filter( 'gform_default_notification', '__return_false' );

Source Code

This filter is located in GFFormDetail::save_form_info() in form_detail.php