Support

Account

Home Forums Front-end Issues Query custom post type depending on post object inside a repeater Reply To: Query custom post type depending on post object inside a repeater

  • Hi @cedric_charles

    ACF saves the ID instead of the object in the database to minimalize the storage needed. This means that we need to compare against the ID when you query the database.

    The options you’ve set is used when you use the get_field() and the the_field() function. It will allow ACF to convert the ID to the selected type automatically.

    I hope this makes sense 🙂