Home › Forums › Front-end Issues › Delete ACF repeater field entry from backend after date expiry › Reply To: Delete ACF repeater field entry from backend after date expiry
Not sure why everything is being deleted, like I said, it could be that the date field isn’t valid for strtotime(). The date is probably being converted incorrectly. You may need to make sure that your date is “YYYY-MM-DD’.
Because you’re using a nested repeater, this also poses an issue. Try using the field_key for the field name for add_filter().
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.