Support » Plugin: The Events Calendar » [Plugin: The Events Calendar] Category name

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try this function to get category slugs, if you want the actual name you might need to alter it slightly.

    function getCategorySlugs() {
    $terms = get_terms("tribe_events_cat");
    $slugs = array();
    foreach ($terms as $term) {
    $slugs[] = $term->slug;
    return $slugs;

    Thak you, is perfect

    Plugin Author Rob La Gatta


    Awesome to hear that got you where you needed to be, hippoi. Thanks again Andy!

    Looks like we’re all set with this issue so I’m going to mark it “Resolved” accordingly. If you need anything else down the road, please just let us know.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: The Events Calendar] Category name’ is closed to new replies.