Tulip Media

Entrepreneurial thoughts

Change WordPress Default Email Address

Here is a little tip which concerns the bloggers who use the WordPress CMS. By default, WordPress uses the email «  » and the name “WordPress” to send some notifications to users. This little piece of code will improve the wp_mail function of WordPress and let you personalize the sender email and name.

Just add this code into the functions.php file of your WordPress theme, and change and My Name values according to your needs.

[icon style=”chain” color=”red”]functions.php[/icon]

add_filter( 'wp_mail_from', 'my_mail_from' );
function my_mail_from($email)
{ return ''; }
add_filter( 'wp_mail_from_name', 'my_mail_from_name' );
function my_mail_from_name($name)
{ return 'My Name'; }


My latest tweets

New shorts on Blooness 👉 Training dedicated to the best oilseeds for health is finally available in audio format https://buff.ly/3xo9fTS

New shorts on Blooness 👉 If there was only one supplement to take, it would be magnesium (along with vitamin D). The complete guide to the best multivitamins on the market still available here with free access https://buff.ly/49bHqvp

New shorts on Blooness 👉 The latest Blooness training on #proteins is available in audio format https://buff.ly/4aijbMW

Load more

Don't miss business advice by email

No spam, just an email when new content is published.

Leave a Reply

Your email address will not be published. Required fields are marked *