Skip to content

Instantly share code, notes, and snippets.

@uamv
Created February 19, 2019 12:37
Show Gist options
  • Save uamv/e45191ca6a15ff080e8d1778f3602a59 to your computer and use it in GitHub Desktop.
Save uamv/e45191ca6a15ff080e8d1778f3602a59 to your computer and use it in GitHub Desktop.
Send all Gravity Form notifications to specified email addres
<?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