This the action to save/update buddypress fields which are mapped with armember registration form.
Hook Name: arm_buddypress_xprofile_field_save
Hook Type: Action
Usage:
add_action( 'arm_buddypress_xprofile_field_save', 'your_function', 10, 3);
function your_function($user_id, $posted_data = array(), $action) {
//Do Your Action
//$user_id User ID.
//$posted_data Posted Form Data.
//$action Form Action. Possible values: 'add' or 'update'
}
Parameters:
$user_id
User ID
$posted_data
Posted Form Data
$action
Form Action. Possible values: ‘add’ or ‘update’