wp post meta patch <action> <id> <key> <key-path> <value>
Update a nested value for a meta field
Arguments
Name | Description |
---|---|
action | Patch action to perform |
id | The ID of the object |
key | The name of the meta field to update |
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 |