wp post meta patch <action> <id> <key> <key-path> <value>

Update a nested value for a meta field

Arguments

NameDescription
actionPatch action to perform
idThe ID of the object
keyThe name of the meta field to update
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