Home › Forums › ACF PRO › if (have_rows()) not working › Reply To: if (have_rows()) not working
Hi @ankhou
Yes, the recent changes to the_row() now store the unformulated value in the global variable.
Previously, this global variable should contain the formatted value, but this change was necessary to allow for the new $format_value parameter in the get_sub_field function.
I advise not to use the returned array from the_row, but instead to use get_sub_field function for any sub field value.
Thanks
E
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.