I want to call a function, whenever any user update their profile. How to do that?
2 Answers
It seems as if the hook personal_options_update
might be what you’re looking for.
add_action( 'personal_options_update', 'my_custom_func' );
function my_custom_func( $user_id /* if you need that */ ) {
...
}