Home › Forums › ACF PRO › Repeater Loop returns only first sub field value › Reply To: Repeater Loop returns only first sub field value
Hi @wesadaf
Are you able to provide the returned data from the following code:
<?php echo '<pre>';
print_r( get_field('clients', 'option') );
echo '</pre>';
?>
Can you also confirm that the repeater field settings include the correct sub field’s and re-save the field group.
The issue sounds like ACF is having trouble loading the sub field values which is either an issue with the field’s settings, an issue with JSON file or an issue with the DB data.
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.