Super Admin All Sites Menu
Doesn’t use switch_to_blog() , i.e. Super Admin All Sites Menu is faster and uses less resources than the WP Admin Bar My Sites menu. Subsite menu data are stored locally in IndexedDB (did I say it’s fast?). The local storage is updated when; the plugin is activated. a site is added or deleted. you
- Doesn’t use switch_to_blog() , i.e. Super Admin All Sites Menu is faster and uses less resources than the WP Admin Bar My Sites menu.
- Subsite menu data are stored locally in IndexedDB (did I say it’s fast?). The local storage is updated when; the plugin is activated.
- a site is added or deleted.
- you change a blog name.
- IndexedDB is out of sync with site changes.
- Restricted Site Access is activated or deactivated.
When subsite menu data is updated, AJAX is used and it’s done in increments (100 sites per increment). List all subsites. WP Admin Bar My Sites only list sites you’re a local admin on. Mark sites that has restricted site access with a red icon. Sites menu is sorted alphabetically. Search filter. Add more menu choices:
- Under “Network Admin” Add New Site
Per subsite.
- ‘New Page’
- ‘Users’
- ‘Plugins’
- ‘Settings’
Prerequisite
- WordPress Multisite
- A modern browser, IE 11 isn’t supported.
Demo
A demo is available in WordPress Playground . It’s a bit slow loading, 50 subsites are added.
- If you disable Super Admin All Sites Menu in the Main Site plugins menu, you’ll see the WP Admin Bar My Sites menu doesn’t allow you to scroll and see all sites. This is a 14-year-old (!) bug on WordPress .
- If you activate the Restricted Site Access plugin (included), you’ll see a red icon next to the site name. ATM, this only works on the main site due to issues with WordPress Playground .
Filters
You can use the following filters to override the defaults: