Can’t get hooks to run after profile updates
-
I am trying to do an action after a profile update happens. I’ve tried um_after_user_updated, um_user_edit_profile, um_user_after_updating_profile. Nothing seems to be firing. I have a simple function that’s just supposed to send an email. I have used other hooks and filters and sent emails in them before, so I’m not sure what I”m doing wrong in this case. Current code is:
add_action( 'um_user_edit_profile', 'my_after_user_updated', 10, 3 ); function my_after_user_updated( $user_id, $args, $userinfo ) { // your code here mail("<my email>", "test", "another test", "From: [email protected]"); }
We are running on WP 5.5.1, Ultimate Member 2.1.19
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Can’t get hooks to run after profile updates’ is closed to new replies.