Home › Forums › Add-ons › Repeater Field › Error reading a repeater › Reply To: Error reading a repeater
At one time I knew how to clear the ACF cache and force the values to be reloaded, but ACF has changed the way it does this and looking at the code I’m don’t really understand it, and they have no documentation on it.
I would more than likely find a way to store the values in an array during the update and then use those values.
I don’t know if this will help you, but
while (have_rows('repeater')) {
$row = the_row();
}
it is a little known fact that the_row()
returns the current row, unformatted, as an array of field_key => value pairs.
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.