Home › Forums › Add-ons › Repeater Field › Programmatically updating repeater fields › Reply To: Programmatically updating repeater fields
You are calling the function from the plugin before the theme is initialized, which means that you are calling it before the after_theme_setup hook, this also means that you are attempting to call the acf function before the init hook which means that you are trying to call acf function before acf is initialized.
https://codex.wordpress.org/Plugin_API/Action_Reference
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.