@tracisuzen
10 years, 12 months ago
$current_user = wp_get_current_user(); $current_user_id = $current_user->ID; xprofile_set_field_data('Tip',$current_user_id,$profile);
I needed xprofile_set_field_data function. And with the result of that code, I assign the profile $profile result to field named ‘Tip’ in my current setup.
Good day