• Version 2.0-beta12 of the WordPress REST API plugin breaks some features of this plugin. Issues could be fixed by doing following changes:

    1. Replace register_api_field function with register_rest_field -function
    2. Replace ‘term’ parameter with ‘category’ in addACFDataTermV2 function.

    From the WordPress REST API changelog:

    * BREAKING CHANGE: Uses discrete schema title for categories and tags.
    If you’ve used register_rest_field( 'term' ), you’ll need to change 'term' to 'tag' and/or 'category'.

    * BREAKING CHANGE: Rename register_api_field() to register_rest_field().

    https://www.ads-software.com/plugins/acf-to-wp-api/

  • The topic ‘Make plugin compatible with REST API version 2.0-beta12’ is closed to new replies.