wp post meta add <id> <key> <value>

Add a meta field

Arguments

NameDescription
idThe ID of the object
keyThe name of the meta field to create
valueThe value of the meta field. If omitted, the value is read from STDIN

Options

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