Home › Forums › Add-ons › Repeater Field › Flexible content/repeater performance – have_rows() vs foreach loop › Reply To: Flexible content/repeater performance – have_rows() vs foreach loop
It should not make any difference. ACF loads all values for all of the fields in all of the layouts when you do get_field('flex_field')
or on the first occurrence of have_rows('flex_field')
and caches all of the values.
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.