Created
December 15, 2017 11:08
-
-
Save danielbitzer/f61ef2f66f91680bbd3de6971ce22f65 to your computer and use it in GitHub Desktop.
AutomateWoo - Set custom reply to for workflow emails
This file contains hidden or 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 | |
/** | |
* @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