/ Published in: PHP
enter the full name you want displayed alongside the email address
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** ******** ******** ******** ******** ******** ******** ******** ******** * TITLE: Change admin name to new users * DESCRIPTION: enter the full name you want displayed alongside the email address * * http://miloguide.com/filter-hooks/wp_mail_from_name/ */ function newuser_filter_wp_mail_from_name($from_name){ return "Best Name Ever"; } add_filter("wp_mail_from_name", "newuser_filter_wp_mail_from_name");
URL: http://miloguide.com/filter-hooks/wp_mail_from_name/