Ticket #1828: bbp_list_forums_new_args.patch
| File bbp_list_forums_new_args.patch, 776 bytes (added by , 14 years ago) |
|---|
-
bbp-includes/bbp-forum-template.php
687 687 $defaults = array ( 688 688 'before' => '<ul class="bbp-forums-list">', 689 689 'after' => '</ul>', 690 'list_before' => '', 691 'list_after' => '', 690 692 'link_before' => '<li class="bbp-forum">', 691 693 'link_after' => '</li>', 692 694 'count_before' => ' (', … … 739 741 } 740 742 741 743 // Output the list 742 echo apply_filters( 'bbp_list_forums', $before . $ output. $after, $args );744 echo apply_filters( 'bbp_list_forums', $before . $list_before . $output . $list_after . $after, $args ); 743 745 } 744 746 } 745 747