Skip to content

Instantly share code, notes, and snippets.

@danielbitzer
Created December 15, 2017 11:08
Show Gist options
  • Save danielbitzer/f61ef2f66f91680bbd3de6971ce22f65 to your computer and use it in GitHub Desktop.
Save danielbitzer/f61ef2f66f91680bbd3de6971ce22f65 to your computer and use it in GitHub Desktop.
AutomateWoo - Set custom reply to for workflow emails
<?php
/**
* @since 3.4.3
*/
add_filter( 'automatewoo/workflow/mailer', 'my_filter_automatewoo_workflow_mailer' );
/**
* @param AutomateWoo\Mailer $mailer
* @return AutomateWoo\Mailer
*/
function my_filter_automatewoo_workflow_mailer( $mailer ) {
$mailer->reply_to = 'John Smith <[email protected]>';
return $mailer;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment