Home › Forums › Backend Issues (wp-admin) › When is acf/settings/load_json supposed to run? › Reply To: When is acf/settings/load_json supposed to run?
What I gave you should output the paths and stop and not continue to load any page on the site.
The only explanation I have for this is that you are adding the filter after the hook has already run.
You said that this is in your functions.php so I assumed it was added at the right time.
However, it could be that something else is causing a premature initialization of ACF which can cause the hook to run before expected.
You need to disable other plugins and maybe switch theme to narrow down what is causing the issue.
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!
❓Ever wondered when and why ACF uses JSON instead of the database? Check out our summary of the most recent session of ACF Chat Friday for the answer, and make sure to register for the next session.— Advanced Custom Fields (@wp_acf) February 23, 2023
© 2023 Advanced Custom Fields.