WP Manifestindependent plugin directory
manifest / multisite / tms-plugin-network-site-list

TMS Network Site List

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

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/tampere/tms-plugin-network-site-list/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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.