SHOW:
|
|
- or go back to the newest paste.
| 1 | - | function custom_bbp_list_forums( $args = '' ) {
|
| 1 | + | function custom_bbp_list_forums() {
|
| 2 | ||
| 3 | - | // Define used variables |
| 3 | + | |
| 4 | - | $output = $sub_forums = $topic_count = $reply_count = $counts = ''; |
| 4 | + | |
| 5 | - | $i = 0; |
| 5 | + | |
| 6 | - | $count = array(); |
| 6 | + | |
| 7 | 'link_before' => '<li class="bbp-forum">', | |
| 8 | 'link_after' => '</li>', | |
| 9 | 'count_before' => '', | |
| 10 | 'count_after' => '', | |
| 11 | 'count_sep' => '', | |
| 12 | 'separator' => '', | |
| 13 | 'forum_id' => '', | |
| 14 | 'show_topic_count' => true, | |
| 15 | 'show_reply_count' => true, | |
| 16 | ); | |
| 17 | ||
| 18 | bbp_list_forums( $args ); | |
| 19 | } | |
| 20 | } |