Home › Forums › General Issues › How to access ACF field in a custom WordPress Rest API endpoint? › Reply To: How to access ACF field in a custom WordPress Rest API endpoint?
So is it working now using the plugin or not? The reason the plugin works is that it is adding a join and altering the where portion of the query as mentioned in the article I linked to.
Without the plugin you don’t need a new query, but you do need to filter the query before it is run, as it shows in the article.
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.