The WordPress REST API provides a set of standard routes, but they might not all be required for your app, as the default routes were not all specifically designed for it. The REST API will make it simple to add custom endpoints that will have absolutely no limit on how they will be used. In our next chapter, we will be covering the process of creating custom routes that, for application development, will work better than using the usual default routes method.
When working with default routes, you should be careful about doing so as that will be counted on several third-party tools.
There is a possibility that the WordPress admin will start utilizing the REST API, which will remove the default routes and will break the admin.
The registration of default routes will be removed, which, by getting rid of the hook where the endpoints, in a manner similar to following code:
remove_action( 'rest_api_init', 'create_initial_rest_routes', 0 );
Another technical...