How do i hook a function when a profile is saved?
-
Hello,
I’ve added this snippet to my functions.php but it doesn’t seem to get called, when i save my profile.
add_action( 'um_user_edit_profile', 'my_user_edit_profile', 10, 1 ); function my_user_edit_profile( $args ) { debug_to_console("ASD"); }do i have to insert it elsewhere/at a specific location in my functions.php or am i adding an action to the wrong hook?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘How do i hook a function when a profile is saved?’ is closed to new replies.