wp post term set <id> <taxonomy> <term>
Set object terms
Arguments
| Name | Description |
|---|---|
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 |
Options
| Name | Description |
|---|---|
--by <field> | Explicitly handle the term value as a slug or id |