Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support for groupable type fields (e.g. repeater) or a hierarchical structure in acf in general. #12

Open
ironland opened this issue Mar 20, 2019 · 0 comments

Comments

@ironland
Copy link

The importer doesn't yet have support for fields that contain sub fields. This makes it hard to save for instance repeater fields or group fields.

A proposed solution is to create a recursive method inside save_acf that gets called on each iteration of the acf_field array and calls itself again whenever there's a field that has a groupable type.

Group and repeater fields also have to be handled differently. The proposed way should probably be this: https://www.advancedcustomfields.com/resources/update_sub_field/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant