Get collections.
get_webcomic_collections( array $args = [] ) : array
Parameters
array $args
Optional arguments.
boolcrossover
Whether to get collections based on the current taxonomy crossover query, if any (taxonomy components only).stringfields
Optional collection fields to get; one of ids, options, or objects.boolhide_empty
Whether to include or exclude empty collections.arrayid__in
Optional ID’s the collections must match.arrayid__not_in
Optional ID’s the collections must not match.intlimit
Optional maximum number of collections to return.mixednot_related_by
Optional taxonomies the collections must not be related by.stringorder
Optional collection sort order; one of asc or desc.stringorderby
Optional collection sort field; one of name, slug, count, updated, or rand.mixedrelated_to
Optional post object, term object, or collection ID the collections must be related to.mixedrelated_by
Optional taxonomies the collections must be related by.arrayslug__in
Optional slugs the collections must match.arrayslug__not_in
Optional slugs the collections must not match.
Return
array