WordPress – change the default ‘from’ information

The default email address and from name in WordPress notification emails can be easily changed by editing your functions.php file Simply add the following code (remembering to change the email address and name to the ones you want to use instead) add_filter(‘wp_mail_from’, ‘new_mail_from’); add_filter(‘wp_mail_from_name’, ‘new_mail_from_name’); function new_mail_from($old) { return ‘yourname@yourdomain.com’; } function new_mail_from_name($old) { return … Continue Reading