lewisdonovan/acf-fields-to-wp-rest-api

Programmatically add data from Advanced Custom Fields to the Wordpress REST API.

dev-master 2020-08-24 12:52 UTC

This package is auto-updated.

Last update: 2024-04-24 23:03:34 UTC


README

68747470733a2f2f6c65776973646f6e6f76616e2e6465762f696d672f706f7374732f6163662d6669656c64732d746f2d77702d726573742d6170692e6a7067

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.

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.

Compatible with ACF v5.6.0

Changelog

v1.0 - 21.06.2017
Initial commit

v1.1 - 26.07.2017
Updates to namespace and function naming