-
Notifications
You must be signed in to change notification settings - Fork 62
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
Transform acf-json to acf-builder #131
Comments
Thats a pretty interesting idea. There is no way for a FieldsBuilder class to import JSON currently. Depending on how much work you have to do to the existing fields, I would probably just convert the ones you really needed as you went, especially if you feel like you're gonna have to change them often. |
Oh my the number of times I wish this existed. I'm leaving a comment to show my interest, but also might end up doing it 😂 |
Is there an other way around ? I noticed that with huge number of field, acf-builder is slower then acf-json. Maybe there's a way that instead of using "acf_add_local_field_group" we create / update .json from local-json from build() to speed up the TTFB/server time? |
Hi just to add if this can help anyone, we change the Here's the function
|
Is there by any chance a way to transform acf-json to acf-builder?
I'm about to do a major update on a website with a ton of acf fields. Perhaps it might save some time if I could transform the existing fields to acf-builder.
I would write some nodejs to achieve this myself... but then I'm most likely not saving time :)
The text was updated successfully, but these errors were encountered: