Home Forums Front-end Issues Query posts by user relationship field Reply To: Query posts by user relationship field

  • @hube2 Thanks for the very quick response John, I appreciate your time.

    Okay, so you are saying that every time I use update_field() or update_post_meta() I need to pass the IDs as strings and then every time I use get_field() or get_post_meta() I should convert the values to integers?

    If so, I’ll go through and make this change in my bidirectional relationship code and also whenever I interact with either field elsewhere in my plugin.