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