I Noticed that this area edits the functions of the menu. Can I change this to only show the main cats and no sub cats?
<div class="whoop-forum-cats-list">
<ul class="whoop-forum-cats-list-inner">
<?php
$forum_id = bbp_get_forum_id();
$forum_args = array(
'posts_per_page' => 100,
'post_type' => bbp_get_forum_post_type(),
'order' => 'ASC'
);
$forums = query_posts( $forum_args );
foreach ($forums as $forum) {
$link = get_permalink($forum->ID);
if ($forum->ID == $forum_id) {
$class = 'active';
} else {
$class = '';
}
?>