No problem…………BUT here’s the problem that makes me stuck.
IF i update the value in the backend, and changes it into, let’s say, “Agus” which is user 26. And then i saves it. Suddenly the value is not simply a number, it’s a serialized array. So it messed up my logic and program.
My question is simple. Can you please, please…. give me an example of how to update_field for a user data type? so i won’t make a mistake. And how do i actually fetch the objects in WordPress using the id? because i can’t simply use the “=” comparison now, because it’s a serialized array. I assume i need to use “like” comparison? but that would not work because ID is just a number, so ID of 1 can also fetch posts that were associated to user with ID 21, because 21 have the number 1 in it.