Dr Adil Ramzan
asked 9 years ago

I have installed DW QA plugin, but i have this email notification problem.
When someone, post a question he receive "Wordpress" as sender name, please tell me how to fix it, so that when a user sees an email the sender should be site title instead of wordpress, i have changed the email in the notification settings, but how to change the sender name? please help.

1 Answers
DominicStaff
answered 9 years ago

Hi,
To resolve this issue, you can add the following code to the functions.php file:

add_filter('wp_mail_from_name', 'new_mail_from_name');
function new_mail_from_name($old) {
return 'name';
}

Hope this helps !

dradil
replied 9 years ago

Lovely, i had these question few days ago, but i received a message that your question has been held for moderation, i thought it will never appear. But i am really very very much surprised. Your support is extra-ordinary and outstanding. May God Bless you.

dominic Staff
replied 9 years ago

😀 Thanks you, my friend. If you have any issue, please let us know.

Powered by DW Question & Answer Pro