Description
Allows modification of the email arguments which are passed to the Mailgun API.
Usage
add_filter( 'gform_mailgun_email', function( $mailgun_email, $email, $message_format, $notification, $entry ) { $mailgun_email['h:x-mailgun-native-send'] = false; return $mailgun_email; }, 10, 5 );
Parameters
Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in Mailgun version 1.0.
Source Code
This filter is located in class-gf-mailgun.php.