Change WordPress Default Email From Name

WordPress

If you send emails from your WordPress site using the wp_mail() function you might of noticed that the email address and the email name is not being sent as you would expect it to.

When an email is sent by default the from email address is set to wordpress@your-domain.com and the from name is set to WordPress.

This doesn't look the most professional if you're sending customer's email address from wordpress@your-domain.com.

The solution to this is to use the filters

Subscribe To Newsletter

Get weekly updates to your email