Home › Forums › General Issues › Prevent acf/load_field filter when using get_field › Reply To: Prevent acf/load_field filter when using get_field
I think it’s quite natural that it does it since you are getting the field but I would too very much appreciate a way to sidestep the filter because if you’re calling get_field from within that hook you will end up in an infinite loop. Maybe using a parameter for the get_field_object method?
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.