Plugin Toggle

Description

For those times when you’re too lazy to visit the Plugins screen to toggle a plugin on or off.

It’s also helpful when troubleshooting:

This simple plugin is awesome, especially when it comes to diagnosing problems. One of the tenants of troubleshooting WordPress is to disable every plugin and re-enable them one by one in a process of elimination.

Generally, this is accomplished by having the plugin management page in one browser tab with the front end of the website in another. When a plugin is deactivated, switch browser tabs and refresh to see if the problem disappears. Depending on the speed of your site and the number of plugins installed, this can be a cumbersome experience.

Jeff Chandler, WP Tavern

Additional Resources

Screenshots

  • Toolbar dropdown listing plugins to toggle.

Installation

Install Plugin Toggle like any other plugin. Check out the codex if you have any questions.

FAQ

Installation Instructions

Install Plugin Toggle like any other plugin. Check out the codex if you have any questions.

Reviews

Pointless; Did I miss something?

This plugin is a really good idea. However, it doesn’t really help much.

Yes, it will toggle plugins when you click on them in the menu, but each and every single time you click on any of the plugins to toggle it, a fresh http fetch is called, necessitating a page reload.

There is absolutely no difference whatsoever between using the links in the dropdown menu created by this plugin to toggle plugins and just using the Plugins page.

You may as well stay on the Plugins page and just manually toggle them. At least there you have the option to bulk toggle them on or off after selecting multiple plugins.

This plugin is absolutely useless. It would be really amazing if it used AJAX so it didn’t have to reload every single time you toggle a plugin.

It would also be very helpful if the plugin allowed toggling multiple plugins to their opposite state.

If there was a plugin that was able to somehow take and save a “snapshot” of your plugins as they are currently toggled and then be able to “Disable All Plugins” (or have a “Disable All Except” checkbox function), and then be able to restore all of them to their original state after diagnosis, that would be an incredible plugin that I wouldn’t even mind paying for.

For example, let’s say I have Plugins A, B, C, D, and E installed on my site. The site just stopped working after a recent WP core update. UH OH. So to diagnose the problem, I’d use Mass Plugin Toggle or whatever to take a “snapshot” of my current plugins:

Plugin A: enabled
Plugin B: disabled
Plugin C: enabled
Plugin D: disabled
Plugin E: disabled

Then, I can “Save Snapshot” so that this configuration can be restored as-is after using the “Disable All Plugins” (except the Mass Plugin Toggle itself) to diagnose the issue.

It’s probably not difficult to diagnose a problem when you only have 5 plugins, but I am working with a site that has 68 plugins, 37 of them active and the 31 inactive ones either poised to use or currently testing. I need to be able to take a snapshot of how they currently are because they are like:

1. disabled
2. disabled
3. enabled
4. disabled
5. enabled
6. enabled
7. enabled
8. disabled
9. enabled

….etc. Let’s say I narrow the problematic plugin down and delete it. Now, all of my plugins are disabled and I have no way of reenabling them correctly without taking a screenshot and manually checking them. I know that this functionality isn’t implied by this plugin, but if the developer is looking for ways to improve it, this would be a super valuable feature.

Anyway, nice idea for a plugin. It really is. And I appreciate the developer taking time to make this. It’s just not very helpful.

Very Handy for Diagnosis and “Work Arounds”

This is very handy for toggling plugins on and off for diagnosis, or for solutions that require temporarily re configuring your plugin set.

Good for trialing several plugins in the same genre, by setting them up, then switching them in or out of the setup.

Nice big multi-column list of all the plugins, reduces the amount of scrolling to see them all.

This is good, and getting better.
Thank you

Just What I Needed!

I was in a situation where one plugin, when active, interfered with the back end update function of another plugin. My problem was it was easy to forget that I had deactivated the first plugin while working in the second plugin. Now I can quickly view the status of and reactivate any deactivated plugin.

Read all 16 reviews

Contributors & Developers

“Plugin Toggle” is open source software. The following people have contributed to this plugin.

Contributors

“Plugin Toggle” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Plugin Toggle” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.3.1 – December 27, 2016

  • Listed plugins vertically in columns to make scanning easier and decrease disruption when adding or removing plugins.
  • Attempt to detect scenarios where the admin screen being viewed is unavailable after deactivating a plugin and redirect to the Manage Plugins screen instead.

1.3.0 – December 1, 2016

1.2.0

  • Internationalize the plugin to add support for language packs.
  • Only load JavaScript and CSS files on the frontend when the toolbar is enabled.

1.1.6

  • Increase the opacity of inactive plugins and bold active plugins to improve legibility.

1.1.5

  • Set up the plugin on init instead of plugins_loaded to prevent issues with calling current_user_can() too early.

1.1.4

  • Check for changes to the plugins directory or list of active plugins to determine if the cached plugins list should be refreshed.

1.1.3

  • Display an error on the plugins screen if there’s an issue during (de)activation.

1.1.2

  • URL encode redirect URLs to prevent query string conflicts.

1.1.1

  • Prevent a fatal error on activation due to stomping a variable passed by reference.

1.1.0

  • Refactored the codebase to improve performance and legibility.

1.0.0

  • Initial release.