Jun 07, 2020 1:19 am
On email subscriptions the sent from is set to my "blog title".
How I can change the name which emails are sent from? What filter and php code do I add to my theme function?
I wanna for example, "my name - Blog title"
Thanks!
5 Replies
Jun 13, 2020 2:34 am
Hi @Asti ,
I just tried adding
add_filter('wp_mail_from', function ($email){
return 'no-reply@blogname.com';
});
to my theme's function file, however, instead of changing the "reply-to" on the email message, it just does no add it anymore