Support

Account

Home Forums General Issues How to update user field with correct object etc Reply To: How to update user field with correct object etc

  • I have never used update_field() on a user field. But I have used it on other relationship type fields and have always just used the array of IDs I want to update it to……

    I just looked at the code for update field. You can use wither user objects or user IDs, or even an array with user data. If you pass it an array or an object it converts it to the bare ID.