Title: Profile Modification &#8211; Admin Notification
Last modified: July 30, 2021

---

# Profile Modification – Admin Notification

 *  Resolved [Saikishore](https://wordpress.org/support/users/saikishore/)
 * (@saikishore)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/profile-modification-admin-notification/)
 * Hi,
 * Is there someway where the admin can be notified with an email everytime the 
   user is modifying his/her profile?

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

 *  Plugin Contributor [genetech](https://wordpress.org/support/users/genetech/)
 * (@genetech)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/profile-modification-admin-notification/#post-14717775)
 * Hi,
 * There is no predefined notification email in Pie Register settings when a user
   updates the profile.
 * However, you can write custom code to send an email in a function and hook that
   function to ‘piereg_update_profile_event’ action. This action executes every 
   time a user updates their profile.
 * Thank you
 *  Thread Starter [Saikishore](https://wordpress.org/support/users/saikishore/)
 * (@saikishore)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/profile-modification-admin-notification/#post-14720651)
 * Any sample or reference for the same?
 *  Plugin Contributor [genetech](https://wordpress.org/support/users/genetech/)
 * (@genetech)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/profile-modification-admin-notification/#post-14725738)
 * Hi,
 * The following is the sample code on how to use the action.
    This is to be pasted
   in your current theme’s functions.php file.
 *     ```
       add_action( 'piereg_update_profile_event', 'send_email_on_profile_update', 10, 3 );			
   
       function send_email_on_profile_update($user_id, $form_id,$user_data)
       {
       	if(!current_user_can('administrator')){
       		// Code to send an email
       	}
       }
       ```
   
 * Thank you

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

The topic ‘Profile Modification – Admin Notification’ is closed to new replies.

 * ![](https://ps.w.org/pie-register/assets/icon-256x256.png?rev=2467686)
 * [Pie Register – User Registration, Profiles & Content Restriction](https://wordpress.org/plugins/pie-register/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pie-register/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pie-register/)
 * [Active Topics](https://wordpress.org/support/plugin/pie-register/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pie-register/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pie-register/reviews/)

## Tags

 * [register](https://wordpress.org/support/topic-tag/register/)

 * 3 replies
 * 2 participants
 * Last reply from: [genetech](https://wordpress.org/support/users/genetech/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/profile-modification-admin-notification/#post-14725738)
 * Status: resolved