Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
function ec_mail_from ($email ){
return 'joe@doe.com'; // new email address from sender.
}
add_filter( 'wp_mail_from', 'ec_mail_from' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment