WP-CLI

A command line interface for WordPress

Commands » plugin » delete

wp plugin delete - Delete plugin files without deactivating or uninstalling.

Quick links: Github issues


OPTIONS

<plugin>…
One or more plugins to delete.

EXAMPLES

# Delete plugin
$ wp plugin delete hello
Deleted 'hello' plugin.
Success: Deleted 1 of 1 plugins.

# Delete inactive plugins
$ wp plugin delete $(wp plugin list --status=inactive --field=name)
Deleted 'tinymce-templates' plugin.
Success: Deleted 1 of 1 plugins.