Home › Forums › Add-ons › Repeater Field › Know the number of repeater rows before while statement › Reply To: Know the number of repeater rows before while statement
I’ve seen this behavior reported here before, but I’ve not seen a solution that works for everyone because I’ve never been able to recreate it.
Usually, 90+% of the time, when get_field() is not returning the correct value it is due to some other filter on your site. Most of the time it is a pre_get_posts filter.
The best advice I can give you is the standard WP shtick, disable plugins and switch themes to see if you can figure out what might be interfering.
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.