From 083e02a2536082760dba350765928bd1a60eb51c Mon Sep 17 00:00:00 2001 From: Lewis Donovan Date: Wed, 30 Aug 2017 16:28:05 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c69a95f..7653371 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,11 @@ Programmatically add data from Advanced Custom Fields to the Wordpress REST API Simply install and activate the plugin. All existing and new ACF fields will be imported into the API. -Compatible with ACF v5.5.12 +Any ACF fields added to posts, pages or categories will appear in the API at the usual endpoints (eg: /wp-json/wp/v2/posts). + +If you have custom post types or taxonomies and you have exposed them to the API using `show_in_rest => true`, any ACF fields will appear at their endpoints. For more info on exposing custom post types and taxonomies to the API (read here)[https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-rest-api-support-for-custom-content-types/]. + +Compatible with ACF v5.6.0

Changelog

@@ -12,4 +16,4 @@ Compatible with ACF v5.5.12 Initial commit

v1.1 - 26.07.2017
-Updates to namespace and function naming

\ No newline at end of file +Updates to namespace and function naming