Home › Forums › Add-ons › Flexible Content Field › update_field and flexible field › Reply To: update_field and flexible field
I also stuck on this problem. I’ve imported some posts, but one group ist not accessible via get_field(), although all values appear in the backend. So I guess I need to update these group values to register them correctly in the database. But how to do it? They are placed inside flexible content fields themselves, so the meta_key in the database look like
content_section_3_button_text
…..
…..
…..
content_section_9_button_text
Which means, ‘content_section’ is the flexible content field with different sections inside, and these sections have got a group called ‘button’ with a child field ‘text’ (for the button text) inside.
I also tried to access them with the field_keys, but no success yet. Any ideas? Thanks a lot!
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.