Description
Displays event date archives as a list or dropdown.
Usage
em_display_event_archives($args)
Parameters
- $args | array – an array of parameters (optional)
- display_as_dropdown | boolean – displays event archives as a dropdown (TRUE) or list (FALSE). Defaults to FALSE
- show_post_count | boolean – displays number of events (posts) in an archive or do not. Defaults to TRUE
- type | string – determines how to display the archives. Defaults to ‘monthly’
- monthly (default)
- yearly
- order | string – designates the ascending or descending order of the ‘orderby’ parameter. Defaults to ‘DESC’
- asc
- desc (default)
Return
A list of event categories on success. FALSE if ‘event-category’ is not registered.