Wordpress: Change admin name to new users


/ Published in: PHP
Save to your folder(s)

enter the full name you want displayed alongside the email address


Copy this code and paste it in your HTML
  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");

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.