LaravelPackages.net
Acme Inc.
Toggle sidebar
lewisdonovan/acf-fields-to-wp-rest-api

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

728
58
About lewisdonovan/acf-fields-to-wp-rest-api

lewisdonovan/acf-fields-to-wp-rest-api is a Laravel package for programmatically add data from advanced custom fields to the wordpress rest api.. It currently has 58 GitHub stars and 728 downloads on Packagist. Install it with composer require lewisdonovan/acf-fields-to-wp-rest-api. Discover more Laravel packages by lewisdonovan or browse all Laravel packages to compare alternatives.

Last updated

ACF Fields to REST API

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

Comments