Skip to:

set/update xprofile drop down list field

  • gingerbooch


    Hi there,

    I am looking on how to set/update xprofile field for a drop down list. The field is created, there are two available options.

    I found this function to change the value of a xprofile field, selected by it’s name :

    xprofile_set_field_data( $field, $user_id, $value, $is_required = false );

    Is there a similar function to set it by xprofile field ID ? Not a big issue, just wondering.

    The main question is, how can I set/update this field for a user as the value depend on the option list ?

    I there a function dedicated where we can specify the option ID for parent ID ?

    Or is there a way to get/call something like bp_get_xprofile_field_option_value to choose it as the new value ?

    Thank you

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘set/update xprofile drop down list field’ is closed to new replies.
Skip to toolbar