Support

Account

Home Forums Feature Requests add_filter('acf/load_layout/name', function())?

Solved

add_filter('acf/load_layout/name', function())?

  • Is it possible to do something like this? Within the ACF field groups, I have a flexible content layout called “dogs” with name and url. These fields populate on a template called dogs.

    I also have a repeater called “dogs” with these same fields. Uses same template, but different use case per request from client. So I am trying to make a filter with a function that automatically creates these fields in both the repeater dogs and layout dogs. Is this even possible?

  • I would create a field group that has the fields that are used in both places and then us a clone field in both the repeater and the flex layout to add the fields in those places.

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

You must be logged in to reply to this topic.

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.