This repository was archived by the owner on Jan 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
get_webcomic_term()
Michael Sisk edited this page Apr 10, 2018
·
1 revision
Get a comic term.
get_webcomic_term( mixed $term = null, array $args = [] ) : mixedOptional term to get.
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.
mixed
- get_term()
-
get_terms()
Accepts get_terms() arguments as well.