wp option patch <action> <key> <key-path> <value>

Updates a nested value in an option

Arguments

NameDescription
actionPatch action to perform
keyThe option name
key-pathThe name(s) of the keys within the value to locate the value to patch
valueThe new value. If omitted, the value is read from STDIN

Options

NameDescription
--format <format>The serialization format for the value