Home › Forums › Backend Issues (wp-admin) › Creating a button to update field › Reply To: Creating a button to update field
I think this has to do with another question and I already answered reset on date question.
As far as a button to do the reset, you would need to create an admin page with a button on it. This button would have a JavaScript action attached to it. This JavaScript would run an AJAX request that would do the same thing as described for the other question https://support.advancedcustomfields.com/forums/topic/reset-custom-field-at-target-date/
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.