multisite
multisite copied to clipboard
Get Sites List in Multisite Install
If the API is installed on a site-by-site basis, does the API provide any means for getting a listing of sites? WP itself has wp_get_sites(), but if one wanted to use the API to get content from across a network of sites, how would one get a list of sites to make the rests to?
+1
I don't know if this is the best solution, but I ended up creating a small plugin to handle this.
https://github.com/misfist/wp-multisite-rest-api