We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c801d48 commit 2841604Copy full SHA for 2841604
README.md
@@ -2186,6 +2186,12 @@ wp post delete <id>... [--force] [--defer-term-counting]
2186
$ wp post delete 123 --force
2187
Success: Deleted post 123.
2188
2189
+ # Delete multiple posts
2190
+ $ wp post delete 123 456 789
2191
+ Success: Trashed post 123.
2192
+ Success: Trashed post 456.
2193
+ Success: Trashed post 789.
2194
+
2195
# Delete all pages
2196
$ wp post delete $(wp post list --post_type='page' --format=ids)
2197
Success: Trashed post 1164.
0 commit comments