{"id":5959,"date":"2026-02-12T20:46:04","date_gmt":"2026-02-13T01:46:04","guid":{"rendered":"https:\/\/chubes.net\/?documentation=wp-plugin"},"modified":"2026-02-15T16:09:04","modified_gmt":"2026-02-15T21:09:04","slug":"wp-plugin","status":"publish","type":"documentation","link":"https:\/\/chubes.net\/docs\/wp-cli\/plugin\/wp-plugin\/","title":{"rendered":"wp plugin"},"content":{"rendered":"<p>Manages plugins, including installs, activations, and updates.<\/p><p>See the WordPress <a href=\"https:\/\/developer.wordpress.org\/plugins\/\">Plugin Handbook<\/a> developer resource for more information on plugins.<\/p><h2 class=\"wp-block-heading\">Subcommands<\/h2><figure class=\"wp-block-table\"><table><thead><tr><th>Command<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><code>wp plugin activate<\/code><\/td><td>Activates one or more plugins.<\/td><\/tr><tr><td><code>wp plugin auto-updates<\/code><\/td><td>Manages plugin auto-updates.<\/td><\/tr><tr><td><code>wp plugin deactivate<\/code><\/td><td>Deactivates one or more plugins.<\/td><\/tr><tr><td><code>wp plugin delete<\/code><\/td><td>Deletes plugin files without deactivating or uninstalling.<\/td><\/tr><tr><td><code>wp plugin get<\/code><\/td><td>Gets details about an installed plugin.<\/td><\/tr><tr><td><code>wp plugin install<\/code><\/td><td>Installs one or more plugins.<\/td><\/tr><tr><td><code>wp plugin is-active<\/code><\/td><td>Checks if a given plugin is active.<\/td><\/tr><tr><td><code>wp plugin is-installed<\/code><\/td><td>Checks if a given plugin is installed.<\/td><\/tr><tr><td><code>wp plugin list<\/code><\/td><td>Gets a list of plugins.<\/td><\/tr><tr><td><code>wp plugin path<\/code><\/td><td>Gets the path to a plugin or to the plugin directory.<\/td><\/tr><tr><td><code>wp plugin search<\/code><\/td><td>Searches the WordPress.org plugin directory.<\/td><\/tr><tr><td><code>wp plugin status<\/code><\/td><td>Reveals the status of one or all plugins.<\/td><\/tr><tr><td><code>wp plugin toggle<\/code><\/td><td>Toggles a plugin&#8217;s activation state.<\/td><\/tr><tr><td><code>wp plugin uninstall<\/code><\/td><td>Uninstalls one or more plugins.<\/td><\/tr><tr><td><code>wp plugin update<\/code><\/td><td>Updates one or more plugins.<\/td><\/tr><tr><td><code>wp plugin verify-checksums<\/code><\/td><td>Verifies plugin files against WordPress.org&#8217;s checksums.<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\">wp plugin activate<\/h2><p>Activates one or more plugins.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin activate [&lt;plugin&gt;...] [--all] [--exclude=&lt;name&gt;] [--network]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Options<\/h3><p><code>[&lt;plugin&gt;...]<\/code>\n: One or more plugins to activate.<\/p><p><code>[--all]<\/code>\n: If set, all plugins will be activated.<\/p><p><code>[--exclude=&lt;name&gt;]<\/code>\n: Comma separated list of plugin slugs to be excluded from activation.<\/p><p><code>[--network]<\/code>\n: If set, the plugin will be activated for the entire multisite network.<\/p><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\"># Activate plugin\n$ wp plugin activate hello\nPlugin &#039;hello&#039; activated.\nSuccess: Activated 1 of 1 plugins.\n\n# Activate plugin in entire multisite network\n$ wp plugin activate hello --network\nPlugin &#039;hello&#039; network activated.\nSuccess: Network activated 1 of 1 plugins.<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin auto-updates<\/h2><p>Manages plugin auto-updates.<\/p><h3 class=\"wp-block-heading\">Subcommands<\/h3><figure class=\"wp-block-table\"><table><thead><tr><th>Command<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><code>wp plugin auto-updates disable<\/code><\/td><td>Disables the auto-updates for a plugin.<\/td><\/tr><tr><td><code>wp plugin auto-updates enable<\/code><\/td><td>Enables the auto-updates for a plugin.<\/td><\/tr><tr><td><code>wp plugin auto-updates status<\/code><\/td><td>Shows the status of auto-updates for a plugin.<\/td><\/tr><\/tbody><\/table><\/figure><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\"># Enable the auto-updates for a plugin\n$ wp plugin auto-updates enable hello\nPlugin auto-updates for &#039;hello&#039; enabled.\nSuccess: Enabled 1 of 1 plugin auto-updates.\n\n# Disable the auto-updates for a plugin\n$ wp plugin auto-updates disable hello\nPlugin auto-updates for &#039;hello&#039; disabled.\nSuccess: Disabled 1 of 1 plugin auto-updates.\n\n# Get the status of plugin auto-updates\n$ wp plugin auto-updates status hello\nAuto-updates for plugin &#039;hello&#039; are disabled.<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin deactivate<\/h2><p>Deactivates one or more plugins.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin deactivate [&lt;plugin&gt;...] [--uninstall] [--all] [--exclude=&lt;name&gt;] [--network]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Options<\/h3><p><code>[&lt;plugin&gt;...]<\/code>\n: One or more plugins to deactivate.<\/p><p><code>[--uninstall]<\/code>\n: Uninstall the plugin after deactivation.<\/p><p><code>[--all]<\/code>\n: If set, all plugins will be deactivated.<\/p><p><code>[--exclude=&lt;name&gt;]<\/code>\n: Comma separated list of plugin slugs that should be excluded from deactivation.<\/p><p><code>[--network]<\/code>\n: If set, the plugin will be deactivated for the entire multisite network.<\/p><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\"># Deactivate plugin\n$ wp plugin deactivate hello\nPlugin &#039;hello&#039; deactivated.\nSuccess: Deactivated 1 of 1 plugins.\n\n# Deactivate all plugins with exclusion\n$ wp plugin deactivate --all --exclude=hello,wordpress-seo\nPlugin &#039;contact-form-7&#039; deactivated.\nPlugin &#039;ninja-forms&#039; deactivated.\nSuccess: Deactivated 2 of 2 plugins.<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin delete<\/h2><p>Deletes plugin files without deactivating or uninstalling.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin delete [&lt;plugin&gt;...] [--all] [--exclude=&lt;name&gt;]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Options<\/h3><p><code>[&lt;plugin&gt;...]<\/code>\n: One or more plugins to delete.<\/p><p><code>[--all]<\/code>\n: If set, all plugins will be deleted.<\/p><p><code>[--exclude=&lt;name&gt;]<\/code>\n: Comma separated list of plugin slugs to be excluded from deletion.<\/p><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\"># Delete plugin\n$ wp plugin delete hello\nDeleted &#039;hello&#039; plugin.\nSuccess: Deleted 1 of 1 plugins.\n\n# Delete inactive plugins\n$ wp plugin delete $(wp plugin list --status=inactive --field=name)\nDeleted &#039;tinymce-templates&#039; plugin.\nSuccess: Deleted 1 of 1 plugins.<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin get<\/h2><p>Gets details about an installed plugin.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin get &lt;plugin&gt; [--field=&lt;field&gt;] [--fields=&lt;fields&gt;] [--format=&lt;format&gt;]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Options<\/h3><p><code>&lt;plugin&gt;<\/code>\n: The plugin to get.<\/p><p><code>[--field=&lt;field&gt;]<\/code>\n: Instead of returning the whole plugin, returns the value of a single field.<\/p><p><code>[--fields=&lt;fields&gt;]<\/code>\n: Limit the output to specific fields. Defaults to all fields.<\/p><p><code>[--format=&lt;format&gt;]<\/code>\n: Render output in a particular format (table, csv, json, yaml).<\/p><h3 class=\"wp-block-heading\">Available Fields<\/h3><p>Default: name, title, author, version, description, status<\/p><p>Optional: requires_wp, requires_php, requires_plugins<\/p><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">$ wp plugin get bbpress --format=json\n{&quot;name&quot;:&quot;bbpress&quot;,&quot;title&quot;:&quot;bbPress&quot;,&quot;author&quot;:&quot;The bbPress Contributors&quot;,&quot;version&quot;:&quot;2.6.9&quot;,&quot;description&quot;:&quot;bbPress is forum software with a twist from the creators of WordPress.&quot;,&quot;status&quot;:&quot;active&quot;}<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin install<\/h2><p>Installs one or more plugins.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin install &lt;plugin|zip|url&gt;... [--version=&lt;version&gt;] [--force] [--ignore-requirements] [--activate] [--activate-network] [--insecure]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Options<\/h3><p><code>&lt;plugin|zip|url&gt;...<\/code>\n: One or more plugins to install. Accepts a plugin slug, the path to a local zip file, or a URL to a remote zip file.<\/p><p><code>[--version=&lt;version&gt;]<\/code>\n: If set, get that particular version from wordpress.org, instead of the stable version.<\/p><p><code>[--force]<\/code>\n: If set, the command will overwrite any installed version of the plugin, without prompting for confirmation.<\/p><p><code>[--ignore-requirements]<\/code>\n: If set, the command will install the plugin while ignoring any WordPress or PHP version requirements.<\/p><p><code>[--activate]<\/code>\n: If set, the plugin will be activated immediately after install.<\/p><p><code>[--activate-network]<\/code>\n: If set, the plugin will be network activated immediately after install.<\/p><p><code>[--insecure]<\/code>\n: Retry downloads without certificate validation if TLS handshake fails.<\/p><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\"># Install the latest version from wordpress.org and activate\n$ wp plugin install bbpress --activate\nInstalling bbPress (2.5.9)\nDownloading install package from https:\/\/downloads.wordpress.org\/plugin\/bbpress.2.5.9.zip...\nPlugin installed successfully.\nActivating &#039;bbpress&#039;...\nPlugin &#039;bbpress&#039; activated.\nSuccess: Installed 1 of 1 plugins.\n\n# Install the development version from wordpress.org\n$ wp plugin install bbpress --version=dev\nInstalling bbPress (Development Version)\nSuccess: Installed 1 of 1 plugins.\n\n# Install from a local zip file\n$ wp plugin install ..\/my-plugin.zip\nSuccess: Installed 1 of 1 plugins.<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin is-active<\/h2><p>Checks if a given plugin is active. Returns exit code 0 when active, 1 when not active.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin is-active &lt;plugin&gt; [--network]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">$ wp plugin is-active hello\n$ echo $?\n1<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin is-installed<\/h2><p>Checks if a given plugin is installed. Returns exit code 0 when installed, 1 when uninstalled.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin is-installed &lt;plugin&gt;<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">$ wp plugin is-installed hello\n$ echo $?\n1<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin list<\/h2><p>Gets a list of plugins.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin list [--&lt;field&gt;=&lt;value&gt;] [--field=&lt;field&gt;] [--fields=&lt;fields&gt;] [--format=&lt;format&gt;] [--status=&lt;status&gt;] [--skip-update-check] [--recently-active]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Options<\/h3><p><code>[--&lt;field&gt;=&lt;value&gt;]<\/code>\n: Filter results based on the value of a field.<\/p><p><code>[--field=&lt;field&gt;]<\/code>\n: Prints the value of a single field for each plugin.<\/p><p><code>[--fields=&lt;fields&gt;]<\/code>\n: Limit the output to specific object fields.<\/p><p><code>[--format=&lt;format&gt;]<\/code>\n: Render output in a particular format (table, csv, count, json, yaml).<\/p><p><code>[--status=&lt;status&gt;]<\/code>\n: Filter the output by plugin status (active, active-network, dropin, inactive, must-use).<\/p><p><code>[--skip-update-check]<\/code>\n: If set, the plugin update check will be skipped.<\/p><p><code>[--recently-active]<\/code>\n: If set, only recently active plugins will be shown.<\/p><h3 class=\"wp-block-heading\">Available Fields<\/h3><p>Default: name, status, update, version, update_version, auto_update<\/p><p>Optional: update_package, update_id, title, description, file, author, tested_up_to, requires, requires_php, wporg_status, wporg_last_updated<\/p><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\"># List active plugins on the site.\n$ wp plugin list --status=active --format=json\n[{&quot;name&quot;:&quot;dynamic-hostname&quot;,&quot;status&quot;:&quot;active&quot;,&quot;update&quot;:&quot;none&quot;,&quot;version&quot;:&quot;0.4.2&quot;}]\n\n# Check whether plugins are still active on WordPress.org\n$ wp plugin list --fields=name,wporg_status,wporg_last_updated<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin path<\/h2><p>Gets the path to a plugin or to the plugin directory.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin path [&lt;plugin&gt;] [--dir]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">$ cd $(wp plugin path) &amp;&amp; pwd\n\/var\/www\/wordpress\/wp-content\/plugins<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin search<\/h2><p>Searches the WordPress.org plugin directory.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin search &lt;search&gt; [--page=&lt;page&gt;] [--per-page=&lt;per-page&gt;] [--field=&lt;field&gt;] [--fields=&lt;fields&gt;] [--format=&lt;format&gt;]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">$ wp plugin search dsgnwrks --per-page=20 --format=json\nSuccess: Showing 3 of 3 plugins.\n\n$ wp plugin search dsgnwrks --fields=name,version,slug,rating,num_ratings<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin status<\/h2><p>Reveals the status of one or all plugins.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin status [&lt;plugin&gt;]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">$ wp plugin status\n5 installed plugins:\n  I akismet                3.1.11\n  I easy-digital-downloads 2.5.16\n  A theme-check            20160523.1\n  I wen-logo-slider        2.0.3\n  M ns-pack                1.0.0\nLegend: I = Inactive, A = Active, M = Must Use<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin toggle<\/h2><p>Toggles a plugin&#8217;s activation state.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin toggle &lt;plugin&gt;... [--network]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\"># Akismet is currently activated\n$ wp plugin toggle akismet\nPlugin &#039;akismet&#039; deactivated.\nSuccess: Toggled 1 of 1 plugins.<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin uninstall<\/h2><p>Uninstalls one or more plugins.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin uninstall [&lt;plugin&gt;...] [--deactivate] [--skip-delete] [--all] [--exclude=&lt;name&gt;]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Options<\/h3><p><code>[&lt;plugin&gt;...]<\/code>\n: One or more plugins to uninstall.<\/p><p><code>[--deactivate]<\/code>\n: Deactivate the plugin before uninstalling. Default behavior is to warn and skip if the plugin is active.<\/p><p><code>[--skip-delete]<\/code>\n: If set, the plugin files will not be deleted. Only the uninstall procedure will be run.<\/p><p><code>[--all]<\/code>\n: If set, all plugins will be uninstalled.<\/p><p><code>[--exclude=&lt;name&gt;]<\/code>\n: Comma separated list of plugin slugs to be excluded from uninstall.<\/p><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">$ wp plugin uninstall hello\nUninstalled and deleted &#039;hello&#039; plugin.\nSuccess: Uninstalled 1 of 1 plugins.<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin update<\/h2><p>Updates one or more plugins.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin update [&lt;plugin&gt;...] [--all] [--exclude=&lt;name&gt;] [--minor] [--patch] [--format=&lt;format&gt;] [--version=&lt;version&gt;] [--dry-run] [--insecure]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Options<\/h3><p><code>[&lt;plugin&gt;...]<\/code>\n: One or more plugins to update.<\/p><p><code>[--all]<\/code>\n: If set, all plugins that have updates will be updated.<\/p><p><code>[--exclude=&lt;name&gt;]<\/code>\n: Comma separated list of plugin names that should be excluded from updating.<\/p><p><code>[--minor]<\/code>\n: Only perform updates for minor releases (e.g. from 1.3 to 1.4 instead of 2.0).<\/p><p><code>[--patch]<\/code>\n: Only perform updates for patch releases (e.g. from 1.3 to 1.3.3 instead of 1.4).<\/p><p><code>[--format=&lt;format&gt;]<\/code>\n: Render output in a particular format (table, csv, json, summary).<\/p><p><code>[--version=&lt;version&gt;]<\/code>\n: If set, the plugin will be updated to the specified version.<\/p><p><code>[--dry-run]<\/code>\n: Preview which plugins would be updated.<\/p><p><code>[--insecure]<\/code>\n: Retry downloads without certificate validation if TLS handshake fails.<\/p><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">$ wp plugin update bbpress --version=dev\nSuccess: Updated 1 of 2 plugins.\n\n$ wp plugin update --all\nSuccess: Updated 2 of 2 plugins.<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">wp plugin verify-checksums<\/h2><p>Verifies plugin files against WordPress.org&#8217;s checksums.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp plugin verify-checksums [&lt;plugin&gt;...] [--all] [--strict] [--version=&lt;version&gt;] [--format=&lt;format&gt;] [--insecure] [--exclude=&lt;name&gt;]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Options<\/h3><p><code>[&lt;plugin&gt;...]<\/code>\n: One or more plugins to verify.<\/p><p><code>[--all]<\/code>\n: If set, all plugins will be verified.<\/p><p><code>[--strict]<\/code>\n: If set, even &quot;soft changes&quot; like readme.txt changes will trigger checksum errors.<\/p><p><code>[--version=&lt;version&gt;]<\/code>\n: Verify checksums against a specific plugin version.<\/p><p><code>[--format=&lt;format&gt;]<\/code>\n: Render output in a specific format (table, json, csv, yaml, count).<\/p><p><code>[--insecure]<\/code>\n: Retry downloads without certificate validation if TLS handshake fails.<\/p><p><code>[--exclude=&lt;name&gt;]<\/code>\n: Comma separated list of plugin names that should be excluded from verifying.<\/p><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\"># Verify the checksums of all installed plugins\n$ wp plugin verify-checksums --all\nSuccess: Verified 8 of 8 plugins.\n\n# Verify the checksums of a single plugin\n$ wp plugin verify-checksums akismet\nSuccess: Verified 1 of 1 plugins.<\/code><\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Manages plugins, including installs, activations, and updates. See the WordPress Plugin Handbook developer resource for more information on plugins. Subcommands Command Description wp plugin activate Activates one or more plugins&#8230;.<\/p>\n","protected":false},"featured_media":0,"template":"","meta":{"footnotes":""},"tags":[],"project":[704],"project_type":[749],"class_list":["post-5959","documentation","type-documentation","status-publish","hentry","project-plugin","project_type-wordpress-reference"],"project_info":{"id":591,"name":"WP-CLI","slug":"wp-cli"},"project_type_info":{"id":749,"name":"WordPress Reference","slug":"wordpress-reference"},"_links":{"self":[{"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/documentation\/5959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/types\/documentation"}],"version-history":[{"count":3,"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/documentation\/5959\/revisions"}],"predecessor-version":[{"id":9420,"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/documentation\/5959\/revisions\/9420"}],"wp:attachment":[{"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/media?parent=5959"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/tags?post=5959"},{"taxonomy":"project","embeddable":true,"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/project?post=5959"},{"taxonomy":"project_type","embeddable":true,"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/project_type?post=5959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}