Created
February 19, 2019 12:37
-
-
Save uamv/e45191ca6a15ff080e8d1778f3602a59 to your computer and use it in GitHub Desktop.
Send all Gravity Form notifications to specified email addres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'gform_notification', function ( $notification, $form, $entry ) { | |
$notification['toType'] = 'email'; | |
$notification['to'] = 'email@example.com'; | |
return $notification; | |
}, 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment