Home › Forums › Backend Issues (wp-admin) › update default values when template or parent page is changed › Reply To: update default values when template or parent page is changed
You would need to look at the ACF JS API https://www.advancedcustomfields.com/resources/javascript-api/. There is probably an action that fires for this, but you’d need to populate all of the content in the flex field using JS rather than PHP and I don’t know of any examples of doing something like this.
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.