Hello guy’s Please help me i install REST API plugin WP and i adding some specific route and any things it’s work fine as i wont. But I want to disable default route exemple :
/wp-json/
/wp-json/wp/v2/posts
Leave a Reply
You must be logged in to post a comment.
As of WordPress 4.7 it seems to be the following (noting 99 instead of 0):
However this will also remove any custom content type routes. So instead you may choose to use:
You can use this on your plugin for remove all default route.