Support

Account

Home Forums General Issues Create, Define, Add,Update fields in WP User Profiles Reply To: Create, Define, Add,Update fields in WP User Profiles

  • you can use update_field() to set the value. Pass an array for the values

    
    array(
      // nested array for each row
      array(
        // element for each field
        'field_409832048038' => 'value',
        'field_04230949393a' => 'value',
        // etc
      )
    )
    

    I show field keys because it’s better to use field keys when updating fields that may not have values yet.