Get a comic term.
get_webcomic_term( mixed $term = null, array $args = [] ) : mixed
Parameters
mixed $term
Optional term to get.
array $args
Optional arguments.
stringcollection
Optional collection ID; combined with $type to produce a taxonomy when $type is specified. If no $collection is specified, the requested collection (if any) will be used.boolhierarchical_skip
Whether to skip over nested terms when finding a previous or next term in a hierarchical taxonomy. When true, a previous term cannot be an ancestor of the reference term, and a next term cannot be a child of the reference term.stringrelation
Optional relational term to get; one of first, previous, next, last, or random. When set, $term becomes the point of reference for determining the related term to get.stringtype
Optional taxonomy type, like character or storyline. Specifying a $type overrides any specified $taxonomy; it will be combined with the $collection argument to produce a taxonomy.
Return
mixed
Uses
- get_term()
- get_terms()
Accepts get_terms() arguments as well.