WP-CLI

A command line interface for WordPress

Commands » plugin » deactivate

wp plugin deactivate - Deactivate a plugin.

Quick links: Github issues


OPTIONS

[<plugin>…]
One or more plugins to deactivate.
[--uninstall]
Uninstall the plugin after deactivation.
[--all]
If set, all plugins will be deactivated.
[--network]
If set, the plugin will be deactivated for the entire multisite network.

EXAMPLES

# Deactivate plugin
$ wp plugin deactivate hello-dolly
Plugin 'hello-dolly' deactivated.
Success: Deactivated 1 of 1 plugins.