Get a list of collections.
get_webcomic_collections_list( array $args = [] ) : string
Parameters
array $args
Optional arguments.
stringformat
Optional list format, like before{{join}}after. Including<select>or<optgroup>elements will convert links to<option>elements. Using ‘webcomics_optgroup’ as the join will replace collection links with a list of comic<option>elements wrapped in an<optgroup>.stringlink
Optional link text, like before{{text}}after.mixedlink_post
Optional reference post for collection links.arraylink_args
Optional link arguments.stringfeed
Optional collection feed link text.stringfeed_type
Optional collection feed type; one of atom, rss, or rss2.intcloud_min
Optional weighted list minimum font size.intcloud_max
Optional weighted list maximum font size.stringcurrent
Optional collection ID of the current collection.stringwalker
Optional custom Walker class to use instead of Mgsisk\Webcomic\Collection\Walker\CollectionLister.arraywebcomics
Optional get_webcomics_list() arguments.
Return
string
Uses
- get_webcomic_collections()
The fields argument is always set toids.