The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
How to modify the W...
Clear all

[Solved] How to modify the WordPress “from email address”

1 Posts
1 Users
Illustrious Member Support
Joined: 6 years ago
Posts: 7096
Topic starter  

Are you looking for a way to change the "from email address" in your WordPress theme? 

All you have to do is add this code to your WordPress active theme’s functions.php file:

add_filter('wp_mail_from', function ($email){
   return '';

Don't forget to change the red-marked code (set the right email) before using it. 

This is a small instruction on How to Easily Add Custom Code in WordPress:

More info for the wp_mail_from hook here:

In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.

Jacob and Zackar reacted