SHOW:
|
|
- or go back to the newest paste.
| 1 | function custom_bbp_list_forums() {
| |
| 2 | ||
| 3 | // Defaults and arguments | |
| 4 | $args = array ( | |
| 5 | 'before' => '<ul class="bbp-forums-list">', | |
| 6 | 'after' => '</ul>', | |
| 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 | - | } |
| 19 | + |