Title: TogglePilot – Admin Module Manager
Author: dipsaha
Published: <strong>Est 29, 2026</strong>
Last modified: Est 29, 2026

---

Search plugins

![](https://ps.w.org/togglepilot-admin-module-manager/assets/banner-772x250.png?
rev=3671208)

![](https://ps.w.org/togglepilot-admin-module-manager/assets/icon-256x256.png?rev
=3671180)

# TogglePilot – Admin Module Manager

 By [dipsaha](https://profiles.wordpress.org/dipsaha/)

[Download](https://downloads.wordpress.org/plugin/togglepilot-admin-module-manager.1.0.1.zip)

 * [Details](https://cor.wordpress.org/plugins/togglepilot-admin-module-manager/#description)
 * [Reviews](https://cor.wordpress.org/plugins/togglepilot-admin-module-manager/#reviews)
 *  [Installation](https://cor.wordpress.org/plugins/togglepilot-admin-module-manager/#installation)
 * [Development](https://cor.wordpress.org/plugins/togglepilot-admin-module-manager/#developers)

 [Support](https://wordpress.org/support/plugin/togglepilot-admin-module-manager/)

## Description

TogglePilot – Admin Module Manager adds a “⚡ Plugins” menu to the WordPress Admin
Bar that lists every installed plugin and lets authorized administrators toggle 
activation on or off in place, using AJAX, with no full page reload.

It is built primarily as a **developer/troubleshooting utility** to speed up plugin-
conflict testing: instead of navigating to Plugins  Installed Plugins, finding a
plugin, and clicking Activate/Deactivate (which reloads the page), you can toggle
plugins directly from any screen — front end or back end — via the Admin Bar.

#### Features

 * Admin Bar dropdown listing all installed plugins with name, version, author, 
   and status
 * One-click activate/deactivate via AJAX — no page reload
 * Client-side instant search/filter for sites with many plugins
 * Active / Inactive grouping (optional; can be shown as a flat alphabetical list
   instead)
 * Protected Plugins list — require a confirmation dialog before deactivating sensitive
   plugins
 * TogglePilot – Admin Module Manager can never deactivate itself
 * Native WordPress-style confirmation modal (no browser alert())
 * Plugin dependency awareness (reads the “Requires Plugins” header / WP_Plugin_Dependencies)
   with a clear warning if a dependency is missing
 * Troubleshooting Mode: select multiple plugins to deactivate at once for conflict
   testing, then restore the exact previous state with one click
 * Configurable settings: Admin Bar label/icon, which fields to show, menu width,
   compact mode, grouping
 * Optional debug logging of activation/deactivation attempts (never logs nonces,
   tokens, or passwords)
 * Multisite-aware capability checks
 * Full keyboard navigation, ARIA labeling, and screen-reader support
 * Translation-ready (text domain: togglepilot-admin-module-manager)

#### Security

 * Every action requires the `activate_plugins` capability (or higher, depending
   on multisite context)
 * Every AJAX request verifies a WordPress nonce via `check_ajax_referer()`
 * Plugin identifiers sent from JavaScript are never trusted directly — they are
   sanitized, validated against a strict pattern, and confirmed to correspond to
   a real installed plugin before any action is taken
 * Directory traversal and arbitrary file paths are rejected
 * TogglePilot – Admin Module Manager itself is hard-protected against deactivation
   from its own UI
 * Administrator-defined protected plugins require an explicit confirmation step
 * Activation/deactivation always goes through WordPress core’s own `activate_plugin()`/`
   deactivate_plugins()` functions — the plugin never writes directly to the `active_plugins`
   option or plugin files

### Configuration

Go to **Settings  TogglePilot – Admin Module Manager** to:

 * Change the Admin Bar label and icon
 * Choose whether to show plugin versions/authors
 * Choose whether inactive plugins are shown
 * Enable/disable the search box
 * Enable/disable Active/Inactive grouping
 * Select which plugins require confirmation before deactivation (Protected Plugins)
 * Adjust menu width and compact mode
 * Enable debug logging

### Usage

 1. Click “⚡ Plugins” in the Admin Bar from any page.
 2. Use the search box to quickly find a plugin if you have many installed.
 3. Click a toggle to activate or deactivate that plugin.
 4. For protected plugins, confirm the action in the dialog that appears.
 5. The row updates immediately to reflect the new status — no page reload.

#### Troubleshooting Mode

 1. Click “Troubleshooting Mode” in the Quick Plugins dropdown footer.
 2. Check the plugins you want to temporarily disable for conflict testing.
 3. Click “Disable Selected.” The plugin records your pre-change state for your user
    session.
 4. Test your site with those plugins off.
 5. When done, reopen the dropdown, click “Troubleshooting Mode,” and click “Restore
    Previous Plugin State” to put everything back exactly as it was.

### Troubleshooting

 * **The menu doesn’t appear:** Confirm your user has the `activate_plugins` capability
   and that the Admin Bar is enabled for your account (Users  Your Profile  Toolbar).
 * **A toggle does nothing:** Open your browser console for errors; your session/
   nonce may have expired — refresh the page.
 * **“Security check failed” message:** Your nonce expired (usually after 12–24 
   hours or after logging out/in elsewhere). Refresh the page and try again.
 * **A plugin won’t activate:** Click “View Details” on the failure message for 
   the sanitized error WordPress returned; it usually indicates a PHP error or missing
   dependency in that plugin.

### Minimum Requirements

 * WordPress 6.9 or greater
 * PHP 8.1 or greater

## Installation

 1. Upload the `togglepilot-admin-module-manager` folder to `/wp-content/plugins/`,
    or install the zip via Plugins  Add New  Upload Plugin.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Look for the “⚡ Plugins” item in your Admin Bar (visible to users with the `activate_plugins`
    capability).
 4. Optionally visit Settings  TogglePilot – Admin Module Manager to configure labels,
    protected plugins, and appearance.

## FAQ

### Can this plugin deactivate itself?

No. TogglePilot – Admin Module Manager is always shown as “Always Active” in the
dropdown and cannot be turned off from its own UI. This prevents the interface from
disappearing while you’re using it. To deactivate it, use the standard Plugins page.

### What happens if a plugin activation fails?

The plugin surfaces a sanitized error message (with a “View Details” option) and
never marks a plugin as active in the UI unless WordPress core confirms the activation
actually succeeded.

### Does this work with plugin dependencies?

Yes. If a plugin declares required plugins via the “Requires Plugins” header, TogglePilot–
Admin Module Manager checks whether those dependencies are active before allowing
activation, and warns you if they are not.

### Does this support Multisite?

The plugin performs capability checks appropriate to the current site context. Network-
level (site-wide) activation is intentionally out of scope for the initial release;
the plugin manages plugins at the site level only, and its architecture leaves room
to add network-level support later.

### Will this slow down my site?

No. Assets (CSS/JS) are only enqueued for users who can see the menu (i.e., users
with the `activate_plugins` capability) and only after the Admin Bar is confirmed
visible. Plugin data is loaded once per page load, not on every menu open, so opening
the dropdown never triggers a new request.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“TogglePilot – Admin Module Manager” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ dipsaha ](https://profiles.wordpress.org/dipsaha/)

[Translate “TogglePilot – Admin Module Manager” into your language.](https://translate.wordpress.org/projects/wp-plugins/togglepilot-admin-module-manager)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/togglepilot-admin-module-manager/),
check out the [SVN repository](https://plugins.svn.wordpress.org/togglepilot-admin-module-manager/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/togglepilot-admin-module-manager/)
by [RSS](https://plugins.trac.wordpress.org/log/togglepilot-admin-module-manager/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release: Admin Bar plugin switcher, AJAX activate/deactivate, search,
   grouping, protected plugins with confirmation, dependency checks, Troubleshooting
   Mode with state restoration, settings page, debug logging, accessibility support.

## Meta

 *  Version **1.0.1**
 *  Last updated **1 dydh ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1**
 *  PHP version ** 8.1 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/togglepilot-admin-module-manager/)
 * Tags
 * [admin bar](https://cor.wordpress.org/plugins/tags/admin-bar/)[developer-tools](https://cor.wordpress.org/plugins/tags/developer-tools/)
   [plugins](https://cor.wordpress.org/plugins/tags/plugins/)[troubleshooting](https://cor.wordpress.org/plugins/tags/troubleshooting/)
 *  [Advanced View](https://cor.wordpress.org/plugins/togglepilot-admin-module-manager/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/togglepilot-admin-module-manager/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/togglepilot-admin-module-manager/reviews/)

## Contributors

 *   [ dipsaha ](https://profiles.wordpress.org/dipsaha/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/togglepilot-admin-module-manager/)