Home > Wordpress > Changing the WordPress default password recovery email’s sender name and email address
Bookmark and Share

Changing the WordPress default password recovery email’s sender name and email address

Posted on August 16, 2017 | Filed in Wordpress

To change the WordPress default password recovery email’s sender name and email address, add the following to your active theme’s functions.php file.

add_filter( 'wp_mail_from', 'wpse_new_mail_from' );
function wpse_new_mail_from( $old ) {
return 'your email'; // Your email address goes here
}

add_filter('wp_mail_from_name', 'wpse_new_mail_from_name');
function wpse_new_mail_from_name( $old ) {
return 'your company name'; // Your company name goes here
}

Leave a Reply

Contact Us

Big Apple Design Group
134 West 29th Street
Third Floor
New York, NY 10001

[email protected]

Search Blog