wp user term add <id> <taxonomy> <term>
Add a term to an object
Arguments
Name | Description |
---|---|
id | The ID of the object |
taxonomy | The name of the taxonomy type to be added |
term | The slug of the term or terms to be added |
Options
Name | Description |
---|---|
--by <field> | Explicitly handle the term value as a slug or id |