- This topic has 2 replies, 2 voices, and was last updated 6 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Action hook for updating profile backend site
Tagged: action hook
Is there any way to execute PHP code after the Admin changes data of a user in the WordPress backend?
I already found the action hook “eMember_registration_complete_admin_side”. But this only fires when a new user was created.
So I need a hook that fires after the admin changed some data of a already existing user.
Thanks for your help.
Use the following action hooK
eMember_registration_updated_admin_side
Here is an example:
add_action('eMember_registration_updated_admin_side', 'my_custom_tweak', 10, 2);
function my_custom_tweak ($fields, $custom_fields){
//Do something
}
Thank you very much, its working perfect