Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*change email from wordpress at domain dot com */
- add_filter('wp_mail_from', 'new_mail_from');
- add_filter('wp_mail_from_name', 'new_mail_from_name');
- function new_mail_from($old) {
- return 'noreply@yourdomain.com';
- }
- function new_mail_from_name($old) {
- return 'Whatever Name you want';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement