File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1669,12 +1669,12 @@ Errors if the option already exists.
16691669Deletes an option.
16701670
16711671~~~
1672- wp option delete <key>
1672+ wp option delete <key>...
16731673~~~
16741674
16751675** OPTIONS**
16761676
1677- <key>
1677+ <key>...
16781678 Key for the option.
16791679
16801680** EXAMPLES**
@@ -1683,6 +1683,12 @@ wp option delete <key>
16831683 $ wp option delete my_option
16841684 Success: Deleted 'my_option' option.
16851685
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+
16861692
16871693
16881694### wp option get
You can’t perform that action at this time.
0 commit comments