The documentation for the function says it can be used to add rows to a flexible content field, but I’m not sure how to get this working. Not sure how to properly set the layout for a row. I’ve tried adding 'layout' => 'foo' to the value array, but that doesn’t seem to work either.
An example on the documentation page would be very useful.
ACF PRO’s Flexible Content field allows you to create smaller pieces of UI and compose them into whole flexible patterns. In our latest article, we show how to use it to create swappable site sections and integrate it all in a theme.https://t.co/ZRocH8oJSp