This plugin combines the two of the best WordPress plugins:
Advanced Custom Fields and
WP REST API.
This plugin is based on the work from
Panman on Github. He was right when he said it would be better as plugin, but it would be even better if it would be available through the WordPress Plugin Repository.
An addition made to this plugin is that each ACF Field van be filtered throug the hook: JSON_META_ACFFIELDNAME (where ACFFIELDNAME depends on the fieldname you've added in the Advanced Custom Fields backend.)
This plugin works straight out of the box.
- Upload
plugin-name.php
to the /wp-content/plugins/
directory
- Activate the plugin through the 'Plugins' menu in WordPress