times / acf-to-wp-api

Puts all ACF fields from posts, pages, custom post types, attachments and taxonomy terms, into the WP-API output under the 'acf' key

Home Page:http://wordpress.org/plugins/acf-to-wp-api/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

register_api_field has been removed as of WP 4.7

randycochran opened this issue · comments

New function name is register_rest_field - https://developer.wordpress.org/reference/functions/register_rest_field/

In case anybody else runs into an error for a call to the undefined function in 1.3.3 of this plugin, updating to the new function name immediately fixes the error.

Closing, as I see the PR for this.