Title: wpmem_post_update_data Doesn’t fire if admin changes user table
Last modified: February 6, 2020

---

# wpmem_post_update_data Doesn’t fire if admin changes user table

 *  [stuartataltitude](https://wordpress.org/support/users/stuartataltitude/)
 * (@stuartataltitude)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wpmem_post_update_data-doesnt-fire-if-admin-changes-user-table/)
 * I want to do an action whenever a user’s email is altered. I have tried using
   wpmem_post_update_data and this works fine if the user changes his own email 
   via the my profile->edit my information page. However, if an administrator changes
   the email via edit on the user table then this action doesn’t fire. is this how
   it is intended to work, and if so is there some alternative action that you know
   of that I could use when the user table is altered directly?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wpmem_post_update_data-doesnt-fire-if-admin-changes-user-table/#post-12413834)
 * `wpmem_post_update_data` is only part of the WP-Members profile form.
 * For the dashboard/admin profile, WP has an action for that – `profile_update`.
   There are two WP-Members actions for this, depending on whether it’s the admin
   or the user, either `wpmem_admin_profile_update` or `wpmem_user_profile_update`.

Viewing 1 replies (of 1 total)

The topic ‘wpmem_post_update_data Doesn’t fire if admin changes user table’ is closed
to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/wpmem_post_update_data-doesnt-fire-if-admin-changes-user-table/#post-12413834)
 * Status: not resolved