Get every category in custom post type [WordPress] [Events Manager]

I am having trouble to get all categories of specifically the plugin Events Manager. What I am trying to achieve is an select field with every category available in Events Manager in a template file. I tried using wordpress functions like get_terms() but couldn’t figure out what to use as args.

I am getting my results like this:

$events = EM_Events::get(array('limit'=>0));
foreach( $events as $EM_Event ){
    ...
}

I appreciate any help

Read more here: Get every category in custom post type [Wordpress] [Events Manager]

Leave a Reply

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