By default, WordPress site emails will say “WordPress” as the source of emails going out, such as for those registering. Usually you and your clients will want it personalized to your business.
To change it is simple, just add the following code in the functions.php file.
// added
add_filter(‘wp_mail_from’, ‘new_mail_from’);
add_filter(‘wp_mail_from_name’, ‘new_mail_from_name’);function new_mail_from($old) {
return ‘info@mydomain.org’;
}
function new_mail_from_name($old) {
return ‘My Site Name’;
}