Title: Help with wpmem_post_update_data
Last modified: August 21, 2020

---

# Help with wpmem_post_update_data

 *  Resolved [andrew1234567](https://wordpress.org/support/users/andrew1234567/)
 * (@andrew1234567)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/help-with-wpmem_post_update_data/)
 * I’m trying to add an action so I get emailed whenever anyone updates their profile.
   
   I’ve created an action and function using wpmem_post_update_data and added both
   into class-wp-members.php but it doesn’t seem to be firing.
 * Have I missed a step somewhere?
 * Any help would be great 🙂

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

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/help-with-wpmem_post_update_data/#post-13295715)
 * Part of the problem is where you’ve put your function. [NEVER edit a core plugin file](https://rocketgeek.com/basics/do-not-modify-plugin-files/).
   The whole purpose of filter and action hooks is so that you do not have to edit
   the plugin – your customization should exist outside of it.
 * Either use your (child) [theme functions.php](https://rocketgeek.com/basics/the-functions-php-file/)
   file or [create a site specific plugin](https://rocketgeek.com/basics/create-a-custom-functions-file/).
 *  Thread Starter [andrew1234567](https://wordpress.org/support/users/andrew1234567/)
 * (@andrew1234567)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/help-with-wpmem_post_update_data/#post-13296754)
 * Perfect, thank you! I’ll not do that again
 * Added it to a new plugin and it’s working nicely.

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

The topic ‘Help with wpmem_post_update_data’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [andrew1234567](https://wordpress.org/support/users/andrew1234567/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/help-with-wpmem_post_update_data/#post-13296754)
 * Status: resolved