Title: Admin Notifications when Profile Changes
Last modified: November 7, 2018

---

# Admin Notifications when Profile Changes

 *  Resolved [LPP_DEV](https://wordpress.org/support/users/lpp_dev/)
 * (@lpp_dev)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/admin-notifications-when-profile-changes/)
 * Is it possible to get notified whenever a user updates their UM profile? I read
   [this thread](https://wordpress.org/support/topic/admin-email-notification-when-user-updates-profile-with-ultimate-member-plugin-2/)
   but the plugin mentioned here only works when the profile is edited within the
   WordPress > Users area of the site editor, not from the Ultimate Member > User’s
   Profile page.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadmin-notifications-when-profile-changes%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Ultimate Member Support](https://wordpress.org/support/users/ultimatemembersupport/)
 * (@ultimatemembersupport)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/admin-notifications-when-profile-changes/#post-10862793)
 * Hi [@lpp_dev](https://wordpress.org/support/users/lpp_dev/),
 * Unfortunately, it’s not possible in the current version of the plugin.
    We will
   see if it is possible to add this option in the future updates.
 * Regards.
 *  Thread Starter [LPP_DEV](https://wordpress.org/support/users/lpp_dev/)
 * (@lpp_dev)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/admin-notifications-when-profile-changes/#post-10871641)
 * Great, thank you. In the meantime I’ll try to tag on an ajax call when profile
   updates are submitted using jQuery to get the job done.
 *  Thread Starter [LPP_DEV](https://wordpress.org/support/users/lpp_dev/)
 * (@lpp_dev)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/admin-notifications-when-profile-changes/#post-10888417)
 * Should the user see a message when their profile has been successfully updated?
    -  This reply was modified 7 years, 6 months ago by [LPP_DEV](https://wordpress.org/support/users/lpp_dev/).
 *  Thread Starter [LPP_DEV](https://wordpress.org/support/users/lpp_dev/)
 * (@lpp_dev)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/admin-notifications-when-profile-changes/#post-10926498)
 * Ok, there is a very simple solution to this. There is a brilliant Ultimate Member
   hook called ‘um_after_user_updated’. (Click [here](https://docs.ultimatemember.com/article/1038-umafteruserupdated)
   to see more).
 * To implement this hook for notifying when a member has updated their profile 
   make a very simple child theme and add this code to its functions.php file.
 *     ```
       add_action( 'um_after_user_updated', 'my_after_user_updated', 10, 3 );
       function my_after_user_updated( $user_id, $args, $userinfo ) {
               um_fetch_user($user_id);
       	$groupMember = um_user('display_name');
               $groupMmbr_name = um_user('user_login');
       	$loggedIn_user = wp_get_current_user();
               $loggedIn_userEml =  $loggedIn_user->user_email;
               $headers = array('Content-Type: text/html; charset=UTF-8', 'Cc:hbaum@salisburypreschool.org', 'Bcc:webdev@somewebdevdomain.com', 'From:Some Profile Update <do_not_reply@somegroupsitedomain.com>', 'Reply-To:No-reply Email<do_not_reply@somegroupsitedomain.com>');
               wp_mail( 'groupManager@somegroupsitedomain.com', 'The '.$groupMember.'profile was updated.', 'The <b>'.$groupMember.'</b>profile was updated by the user with this email address: '.$loggedIn_userEml.'.  <a href="https://somegroupsitedomain.com/user/'.$groupMmbr_name.'/?profiletab=main&um_action=edit"><b>Click here</b></a> to visit this profile online.<br><br><i style="color:#767676; font-size:11px; text-align:center;"><b>NOTE:</b> you must be logged in first to see this profile.</i>',$headers);
       }
       ```
   
 * That is seriously it. Now whenever someone updates their profile or if an administrator
   updates someone’s profile those administrators above will get an email notifying
   them that someone has changed their profile.

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

The topic ‘Admin Notifications when Profile Changes’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [LPP_DEV](https://wordpress.org/support/users/lpp_dev/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/admin-notifications-when-profile-changes/#post-10926498)
 * Status: resolved