WordPress plugin intelligence profile

Super Admin All Sites Menu

For the super admin, replace WP Admin Bar My Sites menu with an All Sites menu.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.12.5
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 5.6 · PHP 8.0
Directory statusactive
Last directory update13 Aug 20262mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Super Admin All Sites Menu version 1.12.5 as active, updated 2mo ago and tested up to WordPress 7.1.

Overview

About this plugin

  • 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. ) 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:

-

all_sites_menu_order_by

-

Sort menu by. Default value is name, accepts id, url or name

add_filter( 'all_sites_menu_order_by', function( string $order_by ): string { return 'url'; } );

-

all_sites_menu_load_increments

-

AJAX load increments. Default value is 100.

add_filter( 'all_sites_menu_load_increments', function( int $increments ): int { return 300; } );

-

all_sites_menu_plugin_trigger

-

Trigger an update of local storage (IndexedDB) when a plugin is (de)activated. php' ].

>

Note: Must be an array and each element in the array must point to the main plugin file. php'

php', ]; } );

-

all_sites_menu_search_threshold

-

Don’t display search field if there’s less than N subsites. Default value is 20.

add_filter( 'all_sites_menu_search_threshold', function( int $increments ): int { return 40; } );

-

all_sites_menu_search_threshold

-

Don’t display search field if there’s less than N subsites. Default value is 20.

add_filter( 'all_sites_menu_search_threshold', function( int $increments ): int { return 40; } );

-

all_sites_menu_force_refresh_expiration

-

How often a forced refresh should be taken. Default value is 3600. Set the value to 0 to disable forced refresh.

add_filter( 'all_sites_menu_force_refresh_expiration', function( int $seconds ): int { return 3600; } );

-

all_sites_menu_submenu_items

-

Customise the per-site submenu items (add, remove, or reorder). Each item: ['id' => string, 'title' => string, 'href' => string]. Receives $items, $blog_id, $admin_url, $site_url.

// Add an "Edit Site" link pointing to the network admin site-info page. id='. $blog_id ), ]; return $items; }, 10, 3 );

Development

  • Active development of this plugin is handled on GitHub.
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • management
  • multisite
  • superadmin
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 5.6 · PHP 8.0
Update activity13 Aug 20262mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.