Home › Forums › Add-ons › Repeater Field › Programmatically updating repeater fields › Reply To: Programmatically updating repeater fields
Victory!
Your comment on when we were calling update_field turned out to be right on the money. Interestingly, it was initialized enough to be able to run update_field on regular Text/Number fields, but not enough to allow Repeater fields to be updated.
So, we added an add_action which ensured that our plugin fired after all others had, like so:
add_action('plugins_loaded', 'name_of_function');
This solved the issue! Thank you SO much for all of your help and responsiveness, it is VERY much appreciated! We owe you big time!
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.