• Resolved docmars

    (@docmars)


    Since WP REST API v2 is now requiring you to specify support for endpoints when registering a custom post type, it’d be really great if this plugin supported this feature.

    It appears that the WP REST API plugin automatically generates endpoints based on your post types. For example, if I created a post type called projects, then I could access it via:

    https://example.com/wp-json/wp/v2/projects

    But since I registered this type with the Custom Post Types UI plugin without the show_in_rest argument set, I’m getting no results.

    Adding support for this, along with being to specify the endpoint name, or rest_base, would be fantastic.

    More information in their documentation here:
    https://v2.wp-api.org/extending/custom-content-types/

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add support for WP REST API v2’ is closed to new replies.