wp post term set Set object terms. Replaces existing terms on the object. wp post term set <id> <taxonomy> <term>... [--by=<field>] Options <id>The ID of the object.<taxonomy>The name of the taxonomy type to be updated.<term>...The slug of the term or terms to be updated.[--by=<field>]Explicitly handle the term value as a slug or id. [Default: slug]Options:slugid Related Commandspost-termpost-term-addpost-term-listpost-term-remove