Download the PHP package soderlind/super-admin-all-sites-menu without Composer

On this page you can find all versions of the php package soderlind/super-admin-all-sites-menu. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package super-admin-all-sites-menu

Super Admin All Sites Menu

WordPress Plugin Version Tested up to

Replace the default My Sites menu in the WordPress Admin Bar with a fast, searchable All Sites menu — built for super admins managing large multisite networks.

Why?

The built-in My Sites menu has problems on large networks:

This plugin fixes all three. Site data is fetched once via the REST API, cached in IndexedDB, and rendered client-side — so the menu loads instantly on subsequent visits.

Features

Requirements

Requirement Minimum
WordPress 5.6 (Multisite)
PHP 8.0
Browser Any modern browser (no IE 11)

Installation

WordPress.org

Install from wordpress.org/plugins/super-admin-all-sites-menu, then Network Activate.

Manual

  1. Download the latest release.
  2. Upload to wp-content/plugins/ and network activate.

Composer

Filters

All filters are optional. Add them to a plugin or your theme's functions.php.

all_sites_menu_order_by

Sort order. Accepts name (default), id, or url.

all_sites_menu_load_increments

Sites fetched per REST batch. Default 100.

all_sites_menu_plugin_trigger

Plugins whose (de)activation triggers an IndexedDB refresh. Default: [ 'restricted-site-access/restricted_site_access.php' ].

all_sites_menu_search_threshold

Minimum number of sites before the search field appears. Default 20.

all_sites_menu_force_refresh_expiration

Seconds between forced cache refreshes. Default 3600 (1 hour). Set to 0 to disable.

all_sites_menu_submenu_items

Customise the per-site submenu items. Add, remove, or reorder entries. Each item is an associative array with id, title, and href keys.

Parameters:

Param Type Description
$items array Default submenu items (Dashboard, New Post, New Page, …, Visit).
$blog_id int The numeric blog ID.
$admin_url string The site admin URL, e.g. https://example.com/wp-admin.
$site_url string The site frontend URL, e.g. https://example.com.

Add an "Edit Site" link (network admin):

Remove "Manage Comments":

Demo

Try it in WordPress Playground (loads 50 subsites — may take a moment).

How it works

The PHP revision acts as an opaque cache version. It is bumped whenever a site is added/deleted, a blog name changes, or a monitored plugin is (de)activated. On the client side, a mismatch triggers a full re-fetch; a match means the cached snapshot is used as-is.

IndexedDB storage

Development

Changelog

See CHANGELOG.md.

Credits

License

Copyright 2021 Per Soderlind. Licensed under the GNU General Public License v2 or later.

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/.


All versions of super-admin-all-sites-menu with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package soderlind/super-admin-all-sites-menu contains the following files

Loading the files please wait ...