@@ -526,7 +526,7 @@ wp plugin uninstall <plugin>... [--deactivate] [--skip-delete]
526526Update one or more plugins.
527527
528528~~~
529- wp plugin update [<plugin>...] [--all] [--minor] [--patch] [--format=<format>] [--version=<version>] [--dry-run]
529+ wp plugin update [<plugin>...] [--all] [--exclude=<name>] [-- minor] [--patch] [--format=<format>] [--version=<version>] [--dry-run]
530530~~~
531531
532532** OPTIONS**
@@ -537,6 +537,9 @@ wp plugin update [<plugin>...] [--all] [--minor] [--patch] [--format=<format>] [
537537 [--all]
538538 If set, all plugins that have updates will be updated.
539539
540+ [--exclude=<name>]
541+ Comma separated list of plugin names that should be excluded from updating.
542+
540543 [--minor]
541544 Only perform updates for minor releases (e.g. from 1.3 to 1.4 instead of 2.0)
542545
@@ -592,6 +595,20 @@ wp plugin update [<plugin>...] [--all] [--minor] [--patch] [--format=<format>] [
592595 +------------------------+-------------+-------------+---------+
593596 Success: Updated 2 of 2 plugins.
594597
598+ $ wp plugin update --all --exclude=akismet
599+ Enabling Maintenance mode...
600+ Downloading update from https://downloads.wordpress.org/plugin/nginx-champuru.3.2.0.zip...
601+ Unpacking the update...
602+ Installing the latest version...
603+ Removing the old version of the plugin...
604+ Plugin updated successfully.
605+ Disabling Maintenance mode...
606+ +------------------------+-------------+-------------+---------+
607+ | name | old_version | new_version | status |
608+ +------------------------+-------------+-------------+---------+
609+ | nginx-cache-controller | 3.1.1 | 3.2.0 | Updated |
610+ +------------------------+-------------+-------------+---------+
611+
595612
596613
597614### wp theme activate
@@ -1119,7 +1136,7 @@ wp theme status [<theme>]
11191136Update one or more themes.
11201137
11211138~~~
1122- wp theme update [<theme>...] [--all] [--format=<format>] [--version=<version>] [--dry-run]
1139+ wp theme update [<theme>...] [--all] [--exclude=<theme-names>] [-- format=<format>] [--version=<version>] [--dry-run]
11231140~~~
11241141
11251142** OPTIONS**
@@ -1130,6 +1147,9 @@ wp theme update [<theme>...] [--all] [--format=<format>] [--version=<version>] [
11301147 [--all]
11311148 If set, all themes that have updates will be updated.
11321149
1150+ [--exclude=<theme-names>]
1151+ Comma separated list of theme names that should be excluded from updating.
1152+
11331153 [--format=<format>]
11341154 Render output in a particular format.
11351155 ---
@@ -1169,6 +1189,26 @@ wp theme update [<theme>...] [--all] [--format=<format>] [--version=<version>] [
11691189 +---------------+-------------+-------------+---------+
11701190 Success: Updated 2 of 2 themes.
11711191
1192+ # Exclude themes updates when bulk updating the themes
1193+ $ wp theme update --all --exclude=twentyfifteen
1194+ Downloading update from https://downloads.wordpress.org/theme/astra.1.0.5.1.zip...
1195+ Unpacking the update...
1196+ Installing the latest version...
1197+ Removing the old version of the theme...
1198+ Theme updated successfully.
1199+ Downloading update from https://downloads.wordpress.org/theme/twentyseventeen.1.2.zip...
1200+ Unpacking the update...
1201+ Installing the latest version...
1202+ Removing the old version of the theme...
1203+ Theme updated successfully.
1204+ +-----------------+----------+---------+----------------+
1205+ | name | status | version | update_version |
1206+ +-----------------+----------+---------+----------------+
1207+ | astra | inactive | 1.0.1 | 1.0.5.1 |
1208+ | twentyseventeen | inactive | 1.1 | 1.2 |
1209+ +-----------------+----------+---------+----------------+
1210+ Success: Updated 2 of 2 themes.
1211+
11721212 # Update all themes
11731213 $ wp theme update --all
11741214
0 commit comments