Action: um_user_before_updating_profile

do_action( 'um_user_before_updating_profile', $userinfo )

Fires before collecting data to update on profile form submit.

Parameters:
Name Type Description
$userinfo array

Userdata.

Since:
  • 1.3.x
Source:
Example

Make any custom action before collecting data to update on profile form submit.

function my_user_before_updating_profile( $role_key, $role_meta ) {
    // your code here
}
add_action( 'um_user_before_updating_profile', 'my_user_before_updating_profile', 10, 2 );