Network Rest Site List
v1.0.0David Sword · 2018年6月10日 上架
Simple small Wordpress plugin that creates a REST endpoint to list all sites and their IDs in a Wordpress Multisite Network.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 2,702
- 最近更新
- 2018年6月11日
需要 WordPress 4.9+已测试到 4.9.36PHP 5.6+
贡献者
🚀 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