
Adds "Toggle" as a bulk action for the plugins listing to toggle the activation state for selected plugins.
This plugin adds “Toggle” as a bulk action for the plugins listing to toggle the activation state for selected plugins.
From the admin listing of plugins you can now select multiple plugins and choose “Toggle” from the “Bulk actions” dropdown. When applied, all selected plugins that are currently activated will become deactivated, and all selected plugins that are currently deactivated will become activated.
Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage
Screenshots

The "Toggle" option in the "Bulk Actions" dropdown for the admin plugins listing.
FAQ
Why isn’t “Toggle” present in the bulk actions dropdown for plugins for me?
The “Toggle” bulk action is only available to users who have both the “activate_plugins” and “deactivate_plugins” capabilities, which generally implies administrators. The toggle is also only shown when looking at the “All” or “Update Available” views.
Does this plugin include unit tests?
Yes. The tests are not packaged in the release .zip file or included in plugins.svn.wordpress.org, but can be found in the plugin’s GitHub repository.
ChangeLog
1.0.4 (2026-06-09)
- Fix: Add missing textdomain for string translations
- Fix: Prevent PHP warning in instances where a global array key is not set
- Change: Prevent unnecessary Plugin Check warnings
- Change: Note compatibility through WP 7.0+
- Change: Note compatibility through PHP 8.5+
- Change: Update copyright date (2026)
1.0.3 (2025-01-19)
- Change: Prevent translations from containing unintended markup
- Change: Note compatibility through WP 6.7+
- Change: Update copyright date (2025)
- Change: Tweak formatting in
README.md
- New: Add
.gitignore file
- Change: Remove development and testing-related files from release packaging
- Unit tests:
- Hardening: Prevent direct web access to
bootstrap.php
- Allow tests to run against current versions of WordPress
- New: Add
composer.json for PHPUnit Polyfill dependency
- Change: Prevent PHP warnings due to missing core-related generated files
- Change: In bootstrap, add backcompat for PHPUnit pre-v6.0
- Change: In bootstrap, store path to plugin file constant
- New: Add script to install WP for unit testing
1.0.2 (2021-11-27)
- Change: Note compatibility through WP 5.8+
- Change: Unit tests: In bootstrap, move definition of constant for plugin file directory to top of file
Full changelog is available in CHANGELOG.md.