Change WP Email From

Supplemental 32 views
+1
0 Flares 0 Flares ×

This changes the default email confirmation that WordPress sends out.

//**change wpmailconfirmation email*/

function reset_fromemail($email) {
$wpfrom = get_option('admin_email');
return $wpfrom;
}

function reset_fromname($email){
$wpfrom = get_option('blogname');
return $wpfrom;
}

add_filter('wp_mail_from', 'reset_fromemail');
add_filter('wp_mail_from_name', 'reset_fromname');
Tagged with:
Posted in Wordpress

Discuss:

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

No Trackbacks.

Login

Register | Lost your password?
0 Flares Twitter 0 Facebook 0 Google+ 0 0 Flares ×