Home › Forums › Backend Issues (wp-admin) › Get old value from a repeater in acf/update_value filter › Reply To: Get old value from a repeater in acf/update_value filter
If the order can change and the values in the field can change then there isn’t any way to match up the old rows with the new rows. In order to do this one of the values in the row would need to be unique and unchanged. Then you would need to loop over both the old value and the new value to find the right row.
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.