Home › Forums › ACF PRO › Can't retrieve repeater values from options page › Reply To: Can't retrieve repeater values from options page
You code has me a bit confused
if ( have_rows('MY_REPEATER', 'MY_OPTIONS_PAGE') ) {
Are you trying to use the name or slug of the options page? If you are then this is incorrect. When getting values for options pages the $post_id value is always 'option'
or you can use 'options'
if ( have_rows('MY_REPEATER', 'option') ) {
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.