When sending out emails the sender is now set to come from Wordpress (please see attached).
I have found the code below which should correct the issue but I still have a question:
I guess I need to change the '[email protected]' and 'site name' to my own info?
Also, is there anything else I need to change to my own info?
add_filter('wp_mail_from', 'new_mail_fromqw');
add_filter('wp_mail_from_name', 'new_mail_from_nameqw');
function new_mail_fromqw($old) {
return '[email protected]';
}
function new_mail_from_nameqw($old) {
return 'site name';
}