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
相关问题
- Display product ACF field value in Woocommerce tra
- Adding a custom button after add to cart button in
- How to add a “active” class to a carousel first el
- Setting custom order statuses as valid for payment
- change the font size in tag cloud
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.