Home › Forums › General Issues › Repeater vs Flexible Content › Reply To: Repeater vs Flexible Content
As long as a layout is not repeated, yes.
The value stored in the database for a flex field is an array of layout names. If you use
$layouts = get_post_meta($post_id, 'flex_field_name', true);
to get this value the result will be this array. The index containing the layout name will be the row of the flex field you are looking for.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.