I do not think so. The info page says that the folder “acf-json” is one of the load points. If you look in the code of ACF, then you see that there are many folders possible. With unset I remove one of these load points. But that is not, what i want. I want many load points.
In the plugin i want to load the fields for all my sites. In the theme i want to load the fields for a special page.
Please have also a look at the comment over the line with unset
// remove original path (optional)
I don’t want to remove this path. I will use it, too.
And how i said: It didn’t solve the problem.
If i use var_dump in acf_json_load_point nothing would be displayed.
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.