How to Change WordPress Default Email Sender ID

Being a WordPress site owner, you might get email notifications/alerts when somebody submitted a remark/comment or a user joined or did anything that required that WordPress send an Email.

This email by default utilized a really non-specific address (email ID) i.e. “ as a part of the “from sender??? bar. You can change the from email address with your desired address using wp_mail_from filter.

This filter will modify the “from email address” used in an email sent using the wp_mail function by adding the following code:

User Comments

Leave a Reply

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

    Get in Touch