Home › Forums › ACF PRO › Local JSON in plugin not load › Reply To: Local JSON in plugin not load
I just found the solution to the problem. My hooks were registered in the functions.php
but I did it after having called get_field()
a little bit earlier. Calling get_field()
initialises ACF and thus the hooks were useless afterwards.
Seems so simple now, but was quite hard to grasp…
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.