Support

Account

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?

  • I’m looking to return both the question and the answer in a custom search overlay. For instance, if a customer types in “flavors”, I would like a dynamically populated “card” that has both the question and answer in it, for instance — Q: What flavors do you have? A: Strawberry, Chocolate, etc.

    I have the Javascript / card stuff taken care of, I just can’t seem to return both the Q and A which match a search term in the API.