Home › Forums › Add-ons › Repeater Field › update_field() will not remove lines from repeater › Reply To: update_field() will not remove lines from repeater
Hi @john
The $new table is a repeater of “basic” fields, no additional sub components.
In my tests, the only way to delete row was:
1. delete the whole table
2. update_field(with new values)
I cannot use it becuasse repeater performance is poor.
An update of a repeater: 15 rows by 27 fields in each row > 40 seconds!
Unacceptible for my clients.
PLEASE let me know if update_field (on a repeater) will NOT remove rows.
I can calculate the diff(oldtable, newtable) and perform “micro-repeater-update-calls’
But I would like to know before that this is my only workaround.
THANKS!
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.