when a vendor registers he receives a confirmation email from “wordpress” how do i make my site name appear instead of “wordpress”?
Ehi! Come va oggi?
Spero tu stia bene.
/* ##############
* Change outgoing email address params
*/
// Change default WP email sender
add_filter('wp_mail_from', 'doEmailFilter');
add_filter('wp_mail_from_name', 'doEmailNameFilter');
function doEmailFilter($email_address){
if($email_address === "wordpress@yourawesomewebsite.it")
return 'contact@yourawesomewebsite.it';
else
return $email_address;
}
function doEmailNameFilter($email_from){
if($email_from === "WordPress")
return 'Awesomewebsite Webmaster ';
else
return $email_from;
}
Hope this helps !
Ciao, sto bene, grazie e tu?
i found from hivepress → Email -->Email verification…is the same if i set it there? or should I add the above code you provided, if yes where paste? Grazie
Create your own plugin, or if that seems like a daunting task, you can use use a plugin for that.
Please read the documentation regarding code snippets : How to add custom code snippets.
customize–> additional CSS?
Nope, that’s PHP, not CSS.
So you need a code snippet plugin.
I personally use wp code, but any would do.
Hi,
Please check this doc: How to set up emails - HivePress Help Center
I hope this is helpful to you