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.
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!
© 2022 Advanced Custom Fields.