wp plugin deactivate (Multisite Context)
Overview
Disable plugins in a Multisite environment. Note: If a plugin was "Network Activated," it must be "Network Deactivated" — it cannot be disabled on a per-site basis until the network activation is removed.
Syntax
wp plugin deactivate <plugin>... [--url=<site-url>] [--network]
Basic Usage
Network-wide deactivation
wp plugin deactivate query-monitor --network
Output:
Success: Network deactivated plugin 'query-monitor'.
Deactivate for one subsite
wp plugin deactivate woo-coupons --url=shop.example.com
Common Gotchas
- "Missing" plugins — If you can't deactivate a plugin on a subsite, check if it's network-activated.
- Deactivating network-wide — This affects every site on the network immediately.
Next Steps
wp plugin uninstall— for complete removal.