WordPress WP-CLI 2 · Plugins

Deactivate a plugin

Turn a plugin off without deleting it. Useful when a plugin breaks the site.

wp plugin deactivate akismet

Official WordPress WP-CLI 2 documentation

More plugins commands

All plugins commands · WordPress WP-CLI 2 cheatsheet

Was this page helpful?