Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1669,12 +1669,12 @@ Errors if the option already exists.
Deletes an option.

~~~
wp option delete <key>
wp option delete <key>...
~~~

**OPTIONS**

<key>
<key>...
Key for the option.

**EXAMPLES**
Expand All @@ -1683,6 +1683,12 @@ wp option delete <key>
$ wp option delete my_option
Success: Deleted 'my_option' option.

# Delete multiple options.
$ wp option delete option_one option_two option_three
Success: Deleted 'option_one' option.
Success: Deleted 'option_two' option.
Warning: Could not delete 'option_three' option. Does it exist?



### wp option get
Expand Down