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;
    }

    Thread Starter hippoi

    (@hippoi)

    Thak you, is perfect

    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.