
LocalDev Switcher allows you to seamlessly toggle between production plugins and themes and their local development versions.
Usage:
-
Place your local dev version of a plugin in:
wp-content/plugins/localdev-{plugin-slug}
-
You should now have two directories containing the same plugin inside your
/plugins/:/plugins/your-plugin/– Loaded from VCS/WordPress.org Plugins/etc./plugins/localdev-your-plugin/– Your local development version
- Use LocalDev Switcher to toggle between the version-controlled and local versions. The toggle UI appears in the plugin meta row.
LocalDev Switcher prevents double-loading and ensures only the desired version is active.
For theme support, follow the same pattern as for plugin support. Setup your local version of your theme inside the theme directory using localdev-{theme-slug} for the local version’s directory name.
Screenshots

Adds UI to show which plugins you can switch between VCS and Local.

Toggle between VCS and Local versions of your plugins in the Plugins list.

Switch between Local and VCS versions of your currently active theme.