An open API service indexing awesome lists of open source software.

https://github.com/devgeniem/tms-plugin-network-site-list


https://github.com/devgeniem/tms-plugin-network-site-list

wordpress wordpress-plugin

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# TMS (Tampere Multisite) WordPress Plugin Network Site List

WordPress plugin for that provides a REST endpoint for listing all sites in a network installation.

## Prerequisites

* WordPress Network installation

## Routes

Route `/wp-json/tms/sites/` returns site list as an array.
````
[
[
'ID' => 1,
'name' => 'foo',
],
[
'ID' => 2,
'name' => 'bar',
],
[
'ID' => 3,
'name' => 'baz',
],
]
````

## Contributing

Contributions are highly welcome! Just leave a pull request of your awesome well-written must-have feature.