Home › Forums › ACF PRO › Image and Repeater Fields not returning correct values › Reply To: Image and Repeater Fields not returning correct values
Sorry, I missed that. I was assuming you meant something different.
In almost all cases where image field, repeaters, or anything in ACF that does not store a “text” value are not returning what they are supposed to it is due to some filter, usually a pre_get_posts filter, that is interfering.
There could be some other filters doing this, but like I said, 99% of the time images returning IDs instead of images or repeaters returning numbers instead of rows, it has been a pre_get_posts filter.
Probably not much help since anything that filters WP_Query can cause this.
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!
© 2022 Advanced Custom Fields.