Home › Forums › Add-ons › Options Page › get_field('xxx', 'options') not returning value anymore › Reply To: get_field('xxx', 'options') not returning value anymore
The first snippet of code is ran on child themes, so needs to switch to the primary site to grab the related content. The second piece of code is a page for the primary site. Basically lists all the child sites and pulls and outputs relevant fields for each site.
What’s weird about this is that it worked fine in the past, I decided to work on it again over the weekend… and it stopped working all of a sudden.. not sure if it’s related to a plugin upgrade or not?
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.