How to change default email

 In Wordpress Admin

Change default  WP email

add_filter(‘wp_mail_from’, ‘new_mail_from’);
add_filter(‘wp_mail_from_name’, ‘new_mail_from_name’);

function new_mail_from($old) {
return ‘[email protected]';
}
function new_mail_from_name($old) {
return ‘Your <a title="Blog" href="http://www.tharunpkarun.com/blog/">Blog</a> Name';
}
Recommended Posts

Start typing and press Enter to search