Do you want to know how to change default WordPress sender name and email address? If your answer is yes, then this blog post would be resourceful.

Enter the code below in the functions.php file of your theme
//Code to change your email address:
add_filter( 'wp_mail_from', 'sender_email' );
function sender_email( $original_email_address ) {
return 'your_email_name@example.com';
}
//Code to change your sender name:
add_filter( 'wp_mail_from_name', 'sender_name' );
function sender_name( $original_email_from ) {
return 'Your Name';
}
Watch this video for How to do it..
Share this content: