Home › Forums › Add-ons › Options Page › get_field not working for options page › Reply To: get_field not working for options page
Hi @nabha
Thanks for teh bug report. I am unable to reproduce the error on my end. Can you please remove some variables and simply print out the value in your functions.php file like so:
echo '<pre>';
print_r( get_field('ancestor_urls', 'option') );
echo '</pre>';
die;
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.