Home › Forums › Add-ons › Repeater Field › Deleting rows on options page programmatically doesn't seem to work › Reply To: Deleting rows on options page programmatically doesn't seem to work
CHRIIIIIST!
I was using options
, the correct post_id is option
.
It’s the same issue as the guy in the main thread.
I ended up using: while(delete_row('my_repeater_field', 1, 'option'));
Notice it’s option
! Not options
!!
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.