wp term get <taxonomy> <term>

Gets details about a term

Arguments

NameDescription
taxonomyTaxonomy of the term to get
termID or slug of term to get

Options

NameDescription
--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