Change wp_mail_from_name

Install Clef app on your mobile device

Adding this snippet to the functions.php of your wordpress theme will change the from name of emails sent from wordpress.

     function from_mail_name($name) {
        return 'wpsnipp administrator';

Comments  Leave a Reply

  1. Tweets that mention Wordpress Change wp_mail_from_name – wpsnipp.com Wordpress code snippets for your blog -- Topsy.com February 14, 2011 at 12:50 am

    […] This post was mentioned on Twitter by wp_freak, WPSNIPP. WPSNIPP said: #wordpress Change wp_mail_from_name http://bit.ly/iiMaPW #blog please RT 🙂 […]

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!