wp term update <taxonomy> <term>
Updates an existing term
Arguments
Name | Description |
---|---|
taxonomy | Taxonomy of the term to update |
term | ID or slug for the term to update |
Options
Name | Description |
---|---|
--by <field> | Explicitly handle the term value as a slug or id |
--name <name> | A new name for the term |
--slug <slug> | A new slug for the term |
--description <description> | A new description for the term |
--parent <term-id> | A new parent for the term |