We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc88ac8 + 5467055 commit 81741bcCopy full SHA for 81741bc
1 file changed
README.md
@@ -1669,12 +1669,12 @@ Errors if the option already exists.
1669
Deletes an option.
1670
1671
~~~
1672
-wp option delete <key>
+wp option delete <key>...
1673
1674
1675
**OPTIONS**
1676
1677
- <key>
+ <key>...
1678
Key for the option.
1679
1680
**EXAMPLES**
@@ -1683,6 +1683,12 @@ wp option delete <key>
1683
$ wp option delete my_option
1684
Success: Deleted 'my_option' option.
1685
1686
+ # Delete multiple options.
1687
+ $ wp option delete option_one option_two option_three
1688
+ Success: Deleted 'option_one' option.
1689
+ Success: Deleted 'option_two' option.
1690
+ Warning: Could not delete 'option_three' option. Does it exist?
1691
+
1692
1693
1694
### wp option get
0 commit comments