wp term get <taxonomy> <term>
Gets details about a term
Arguments
Name | Description |
---|---|
taxonomy | Taxonomy of the term to get |
term | ID or slug of term to get |
Options
Name | Description |
---|---|
--by <field> | Explicitly handle the term value as a slug or id |
--field <field> | Instead of returning the whole term, returns the value of a single field |
--fields <fields> | Limit the output to specific fields. Defaults to all fields |
--format <format> | Get value in a particular format |