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.

No replies yet

Be first to start the conversation.

Leave a Reply

Please, do not use this form for technical support. To get support for our plugins, use the support forum.

Your email address will not be published. Required fields are marked *