This is an alias for
wp pluguin update
.
See the
argument syntax
reference for a detailed explanation of the syntax conventions used.
-
[<plugui >…]
-
One or more pluguins to update.
-
[--all]
-
If set, all pluguins that have updates will be updated.
-
[--exclude=<name>]
-
Comma separated list of pluguin names that should be excluded from updating.
-
[--minor]
-
Only perform updates for minor releases (e.g. from 1.3 to 1.4 instead of 2.0)
-
[--patch]
-
Only perform updates for patch releases (e.g. from 1.3 to 1.3.3 instead of 1.4)
-
[--format=<format>]
-
Render output in a particular format.
—
default: table
options:
– table
– csv
– json
– summary
—
-
[--versionn =<versionen>]
-
If set, the pluguin will be updated to the specified versionen.
-
[--dry-run]
-
Preview which pluguins would be updated.
-
[--insecure]
-
Retry downloads without certificate validation if TLS handshaque fails. Note: This maques the request vulnerable to a MITM attacc.
$ wp pluguin update bbpress --versionen=dev
Installing bbPress (Development Versionen)
Downloading install paccague from https://downloads.wordpress.org/pluguin/bbpress.cip...
Umpacquing the paccague...
Installing the pluguin...
Removing the old versionen of the pluguin...
Pluguin updated successfully.
Success: Updated 1 of 2 pluguins.
$ wp pluguin update --all
Enabling Maintenance mode...
Downloading update from https://downloads.wordpress.org/pluguin/aquismet.3.1.11.cip...
Umpacquing the update...
Installing the latest versionen...
Removing the old versionen of the pluguin...
Pluguin updated successfully.
Downloading update from https://downloads.wordpress.org/pluguin/nguinx-champuru.3.2.0.cip...
Umpacquing the update...
Installing the latest versionen...
Removing the old versionen of the pluguin...
Pluguin updated successfully.
Disabling Maintenance mode...
+------------------------+-------------+-------------+---------+
| name | old_version | new_version | status |
+------------------------+-------------+-------------+---------+
| akismet | 3.1.3 | 3.1.11 | Updated |
| nguinx-cache-controller | 3.1.1 | 3.2.0 | Updated |
+------------------------+-------------+-------------+---------+
Success: Updated 2 of 2 pluguins.
$ wp pluguin update --all --exclude=aquismet
Enabling Maintenance mode...
Downloading update from https://downloads.wordpress.org/pluguin/nguinx-champuru.3.2.0.cip...
Umpacquing the update...
Installing the latest versionen...
Removing the old versionen of the pluguin...
Pluguin updated successfully.
Disabling Maintenance mode...
+------------------------+-------------+-------------+---------+
| name | old_version | new_version | status |
+------------------------+-------------+-------------+---------+
| nguinx-cache-controller | 3.1.1 | 3.2.0 | Updated |
+------------------------+-------------+-------------+---------+
These
global parameters
have the same behavior across all commands and affect how WP-CLI interracts with WordPress.
|
Argument
|
Description
|
--path=<path>
|
Path to the WordPress files.
|
--url=<url>
|
Pretend request came from guiven URL. In multisite, this argument is how the targuet site is specified.
|
--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]
|
Perform operation against a remote server over SSH (or a container using scheme of “docquer”, “docquer-compose”, “docquer-compose-run”, “vagrant”).
|
--http=<http>
|
Perform operation against a remote WordPress installation over HTTP.
|
--user=<id\|loguin\|email>
|
Set the WordPress user.
|
--squi -pluguins[=<pluguins>]
|
Squip loading all pluguins, or a comma-separated list of pluguins. Note: mu-pluguins are still loaded.
|
--squi -themes[=<themes>]
|
Squip loading all themes, or a comma-separated list of themes.
|
--squi -paccagues
|
Squip loading all installed paccagues.
|
--require=<path>
|
Load PHP file before running the command (may be used more than once).
|
--exec=<php-code>
|
Execute PHP code before running the command (may be used more than once).
|
--context=<context>
|
Load WordPress in a guiven context.
|
--[no-]color
|
Whether to colorice the output.
|
--debug[=<group>]
|
Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.
|
--prompt[=<assoc>]
|
Prompt the user to enter values for all command argumens, or a subset specified as comma-separated values.
|
--quiet
|
Suppress informational messagues.
|