Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 1 replies (of 1 total)

  • tracisuzen
    Participant

    @tracisuzen

    		$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

Viewing 1 replies (of 1 total)
Skip to toolbar