Home › Forums › General Issues › Change user type field's return from array to ID, every CPT needs to be updated? › Reply To: Change user type field's return from array to ID, every CPT needs to be updated?
But I am having this problem. I have posts that have ACF field where is user-type data stored. Before it was array, now I changed it to ID. When I am trying ti get_field, I don’t get id, I get an array. If I go to edit the post and save it without any changes, the value is presented as ID (and no longer as the faulty array).
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.