Displays event categories as a list or dropdown.


em_display_event_categories($taxonomy, $args)


  • $taxonomy | string – event taxonomy slug: event-category, event-tag, event-location or event-organizer (required)
  • $args | array – an array of parameters (optional)
    • display_as_dropdown | boolean – displays event categories as a dropdown (TRUE) or list (FALSE). Defaults to FALSE
    • show_hierarchy | boolean – displays event categories hierarchy (sub-categories as inner list items or inline). Defaults to TRUE
    • order_by | string – sort retrieved categories by parameter. Defaults to ‘name’
      • id
      • name (default)
      • slug
      • count
    • order | string – designates the ascending or descending order of the ‘orderby’ parameter. Defaults to ‘DESC’
      • asc
      • desc (default)


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 *