Unfortunately, that’s not my result. I’m getting false. Here’s my code that isn’t working. I’m trying to use the WP REST API to return custom fields on a custom Taxonomy called ‘region’ on a custom Post Type.
The code I supplied was strictly for use in a template. I’m not going to be able to help you with doing this through the rest api. I simply do not know enough about it. If this was something I had to do this I would start here https://github.com/airesvsg/acf-to-rest-api