Return to Snippet

Revision: 67398
at September 18, 2014 03:35 by chrisaiv


Initial Code
/** ******** ******** ******** ******** ******** ******** ******** ******** 
* 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");

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

Initial Description
enter the full name you want displayed alongside the email address

Initial Title
Wordpress: Change admin name to new users

Initial Tags
wordpress

Initial Language
PHP