Skip to content

Instantly share code, notes, and snippets.

@Tmeister
Last active Aug 29, 2015
Embed
What would you like to do?
<?php
function ec_mail_name( $email ){
return 'Joe Doe'; // new email name from sender.
}
add_filter( 'wp_mail_from_name', 'ec_mail_name' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment