Network Rest Site List
by David Sword on WordPress.org
Simple small Wordpress plugin that creates a REST endpoint to list all sites and their IDs in a Wordpress Multisite Network.
(0)
🚀 Access the endpoint with /wp-json/ntwrkrst/v1/wpsitelist – which returns:
`
{
“123”: {
“blog_id” : “123”,
“domain”:”example.com”,
“path”:”\/main\/”
}
// etc
}
`
🔬 Query sites path with a search, similar to /wp-json/ntwrkrst/v1/wpsitelist?q=keyword
📦 Cache’s for 24h
⚙️ Built primarily for this Alfred workflow to quickly find a sites blog_id
Active installations0+
Weekly downloads
13-13.33%
Version1.0.0
Last updated6/10/2018
WordPress version4.9
Tested up to4.9.26
PHP version5.6
Tags
apimultisitenetworkrestwp-json