Support

Account

Home Forums ACF PRO Break out Flexible Content Repeater to reduce memory

Solving

Break out Flexible Content Repeater to reduce memory

  • I have a flexible content system setup as a page builder like structure. However for one of the pages, one of the flexible content fields is just becoming too big because it has a repeater field in it. I was wondering if there is a way to export the content out of it and then just create a new field group and import the data.

    I have a lot of data in this repeater that is nested and I would hate to spend days copying and pasting the data from these fields into the new standalone field group!

    Thanks for the support – ACF PRO is the BEST!!!

  • Hi @ch4rlie

    I’m afraid there’s no tool to do it yet. What you can do is to create the new field group and then use the update_field() function to fill the newly created fields. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/update_field/.

    Please keep in mind that you need to use the field key to update the newly created fields.

    I hope this helps 🙂

  • Ok thank you for the tip, I will try to write a universal function to do this, if successful will post here.

    Thanks!

  • You could try something like this (if I understand your question correctly):
    https://github.com/Hube2/acf-reusable-field-group-field

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Break out Flexible Content Repeater to reduce memory’ is closed to new replies.