Create endpoint to the WordPress REST API for multisite. Plugin developed for the "Ici On Drive" platform.
This plugin requires API Rest enabled, Multisite WordPress enabled
- Create endpoint: get all sites
http://example.com/wp-json/sites
- Create endpoint: get site by blog_id
http://example.com/wp-json/sites/<id>
- Added some filters to customize the data of your request.