wp site option patch <action> <key> <key-path> <value>
Updates a nested value in an option
Arguments
Name | Description |
---|---|
action | Patch action to perform |
key | The option name |
key-path | The name(s) of the keys within the value to locate the value to patch |
value | The new value. If omitted, the value is read from STDIN |
Options
Name | Description |
---|---|
--format <format> | The serialization format for the value |