times / acf-to-wp-api

Puts all ACF fields from posts, pages, custom post types, attachments and taxonomy terms, into the WP-API output under the 'acf' key

Home Page:http://wordpress.org/plugins/acf-to-wp-api/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

acf-to-wp-api + jp-rest-cache not working

pudgereyem opened this issue · comments

I'm testing out https://github.com/bkirby989/jp-rest-cache (the version that @bkirby989 provided) together with this plugin – and I found that the custom fields does not get added when using the cache plugin.

jp-rest-cache uses filter rest_pre_dispatch while ​_acf-to-wp-api_​ uses filter rest_api_init. Does someone have a clue why the response that ​_jp-rest-cache_​ gives doesn't include the custom fields?