Home Forums ACF PRO Conditionally Load .json files Reply To: Conditionally Load .json files

  • Ok, so I started digging into core/json.php to figure out how to print out the json path array and I found acf_get_setting('load_json'); which I figured is where the paths are stored. However, when I spit out that array I only get 1 array item and it points to the theme acf-json folder, my custom load point is not there.

    I used Debug Bar to verify that the filter was firing and it is indeed (see attached).

    Just to make sure I didn’t mess something up in my code, I used the base filter code that is provided in the documentation and the array still remains intact… just trying to unset the default doesn’t work either. I’m stuck.