File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ These fields are optionally available:
247247Installs one or more plugins.
248248
249249~~~
250- wp plugin install <plugin|zip|url>... [--version=<version>] [--force] [--ignore-requirements] [--activate] [--activate-network] [--insecure] [--with-dependencies]
250+ wp plugin install <plugin|zip|url>... [--version=<version>] [--force] [--ignore-requirements] [--activate] [--activate-network] [--insecure] [--with-dependencies] [--slug=<slug>]
251251~~~
252252
253253** OPTIONS**
@@ -279,6 +279,9 @@ wp plugin install <plugin|zip|url>... [--version=<version>] [--force] [--ignore-
279279 [--with-dependencies]
280280 If set, the command will also install all required dependencies of the plugin as specified in the 'Requires Plugins' header.
281281
282+ [--slug=<slug>]
283+ Use this as the target directory name when installing from a zip file. Cannot be used when installing multiple plugins.
284+
282285** EXAMPLES**
283286
284287 # Install the latest version from wordpress.org and activate
@@ -1305,7 +1308,7 @@ wp theme get <theme> [--field=<field>] [--fields=<fields>] [--format=<format>]
13051308Installs one or more themes.
13061309
13071310~~~
1308- wp theme install <theme|zip|url>... [--version=<version>] [--force] [--ignore-requirements] [--activate] [--insecure]
1311+ wp theme install <theme|zip|url>... [--version=<version>] [--force] [--ignore-requirements] [--activate] [--insecure] [--slug=<slug>]
13091312~~~
13101313
13111314** OPTIONS**
@@ -1331,6 +1334,9 @@ wp theme install <theme|zip|url>... [--version=<version>] [--force] [--ignore-re
13311334 [--insecure]
13321335 Retry downloads without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack.
13331336
1337+ [--slug=<slug>]
1338+ Use this as the target directory name when installing from a zip file. Cannot be used when installing multiple themes.
1339+
13341340** EXAMPLES**
13351341
13361342 # Install the latest version from wordpress.org and activate
You can’t perform that action at this time.
0 commit comments