Posted By

chrisaiv on 09/18/14


Tagged

wordpress


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

tryan326


Wordpress: Change admin name to new users


 / Published in: PHP
 

URL: http://miloguide.com/filter-hooks/wp_mail_from_name/

enter the full name you want displayed alongside the email address

  1. /** ******** ******** ******** ******** ******** ******** ******** ********
  2. * TITLE: Change admin name to new users
  3. * DESCRIPTION: enter the full name you want displayed alongside the email address
  4. *
  5. * http://miloguide.com/filter-hooks/wp_mail_from_name/
  6. */
  7.  
  8.  
  9. function newuser_filter_wp_mail_from_name($from_name){
  10. return "Best Name Ever";
  11. }
  12. add_filter("wp_mail_from_name", "newuser_filter_wp_mail_from_name");

Report this snippet  

You need to login to post a comment.