DescriptionUsageParametersExamplePlacementSinceSource Code
Description
Allows the from address warning to be disabled.
Usage
1add_filter( 'gform_notification_disable_from_warning', '__return_true' );
Parameters
$disable_from_warning bool
Should the From Email warning be disabled?
Example
Disable the warning message for all the notifications.
1add_filter( 'gform_notification_disable_from_warning', '__return_true' );
Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in Gravity Forms v2.4.13.
Source Code
This filter is located in notifications.php.
1$disable_from_warning = gf_apply_filters( array( 'gform_notification_disable_from_warning', $form['id'], rgar( $notification, 'id' ) ), false );