• 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

    (@cbutlerjr)

    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.