{"id":34459,"date":"2015-03-08T16:41:31","date_gmt":"2015-03-08T16:41:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/acf-to-wp-api\/"},"modified":"2017-04-11T08:59:18","modified_gmt":"2017-04-11T08:59:18","slug":"acf-to-wp-api","status":"publish","type":"plugin","link":"https:\/\/sa.wordpress.org\/plugins\/acf-to-wp-api\/","author":10290906,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4.0","stable_tag":"1.4.0","tested":"4.7.33","requires":"3.9.0","requires_php":"","requires_plugins":"","header_name":"ACF to WP API","header_author":"Chris Hutchinson","header_description":"","assets_banners_color":"","last_updated":"2017-04-11 08:59:18","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/acf-to-wp-api\/","header_author_uri":"http:\/\/www.chrishutchinson.me","rating":5,"author_block_rating":0,"active_installs":500,"downloads":48565,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"5"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.0","1.2.1","1.3.0","1.3.1","1.3.2","1.3.3","1.4.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2211,1556,2300],"plugin_category":[59],"plugin_contributors":[82819,82820,82821],"plugin_business_model":[],"class_list":["post-34459","plugin","type-plugin","status-publish","hentry","plugin_tags-acf","plugin_tags-api","plugin_tags-wp-api","plugin_category-utilities-and-tools","plugin_contributors-chrishutchinson","plugin_contributors-kokarn","plugin_contributors-ramvi","plugin_committers-chrishutchinson"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/acf-to-wp-api.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Puts all ACF fields from posts, pages, custom post types, comments, attachments and taxonomy terms, into the WP-API output under the 'acf' key. Creates a new <code>\/option<\/code> endpoint returning options (requires ACF Options Page plugin).<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Unzip and upload the <code>acf-to-wp-api<\/code> directory to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol><\/dd>\n<dt>How can I log and issue or contribute code?<\/dt>\n<dd><p>See the <code>CONTRIBUTING.md<\/code> file.<\/p><\/dd>\n<dt>How can I filter posts on a custom field?<\/dt>\n<dd><p>See GitHub issue #13 (http:\/\/github.com\/times\/acf-to-wp-api\/issues\/13) for example code to do this.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Compatibility improvements for WordPress 4.7<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li>Compatibility fix for V2.0Beta9<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Adds support for custom post types when using v2 of the REST API<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fix to support PHP &lt; 5.4<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Add support for v2 of WP-API<\/li>\n<li>Restructure of much of the code, adding documentation throughout<\/li>\n<li>Add an additional endpoint for requesting single option values<\/li>\n<li>Tested with WordPress 4.3.0<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Tested with WordPress 4.2.1<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added ACF data to comments (Thanks @ramvi).<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Add <code>option<\/code> endpoint for ACF options add-on (Thanks @kokarn).<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix for addACFDataTerm.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Plugs Advanced Custom Fields (ACF) data into the WordPress JSON API (WP-API).","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/34459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=34459"}],"author":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/chrishutchinson"}],"wp:attachment":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=34459"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=34459"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=34459"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=34459"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=34459"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=34459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}