Title: Modifying Admin User Email Notification
Last modified: August 21, 2016

---

# Modifying Admin User Email Notification

 *  Resolved [iceraven721](https://wordpress.org/support/users/iceraven721/)
 * (@iceraven721)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/modifying-admin-user-email-notification/)
 * Is it possible to modify the “New User Registration” email that gets sent to 
   the administrator? On one of the sites I manage, a block of people have the ability
   to add new users.
 * Is it possible to make it look something like the text below?
 *     ```
       New user registration on your site [Site]:
   
       Username: [New User]
   
       E-mail: [New Email]
   
       Created By: [Existing Username]
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [iceraven721](https://wordpress.org/support/users/iceraven721/)
 * (@iceraven721)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/modifying-admin-user-email-notification/#post-4285687)
 * So I found the function which sends the email. I tried $current_user but that
   does not work. Any ideas?
 * `$message .= sprintf(__('Created By: %s'), $current_user) . "\r\n";`
 *  Thread Starter [iceraven721](https://wordpress.org/support/users/iceraven721/)
 * (@iceraven721)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/modifying-admin-user-email-notification/#post-4285693)
 * Figured it out. Needed a global $current_user; at the top, and a reference to
   $current_user->user_login.
 * Cheers

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Modifying Admin User Email Notification’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [iceraven721](https://wordpress.org/support/users/iceraven721/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/modifying-admin-user-email-notification/#post-4285693)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
