This page redirects to an external site: https://developer.wordpress.org/reference/hooks/profile_update/
This hook allows you to access data for a user immediately after their database information is updated. Two arguments are passed to functions using this hook: "user_id" (int) and "old_user_data" (object).
<?php
add_action( 'profile_update', 'my_profile_update', 10, 2 );
function my_profile_update( $user_id, $old_user_data ) {
// Do something
}
?>
This hook is located in `/wp-includes/user.php`
Return to Plugin API/Action Reference