Install
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/soderlind/subsite-maintenance-mode/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WordPress Subsite Maintenance Mode
Prevent access to the dashboard(wp-admin) for selected subsites. Only super admin can access the dashboard.
Use
In Network Admin-Sites, toggle the subsite you want to put in maintenance mode.
Chechboxes are added to Network Admin-Sites using the WPListTableCustomToggleColumn class.
Copyright and License
Subsite Maintenance Mode is copyright 2021 Per Soderlind
Subsite Maintenance Mode is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
Subsite Maintenance Mode is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with the Extension. If not, see http://www.gnu.org/licenses/.