Skip to:
Content

bbPress.org

Ticket #1828: bbp_list_forums_new_args.patch

File bbp_list_forums_new_args.patch, 776 bytes (added by JarretC, 14 years ago)
  • bbp-includes/bbp-forum-template.php

     
    687687        $defaults = array (
    688688                'before'            => '<ul class="bbp-forums-list">',
    689689                'after'             => '</ul>',
     690                'list_before'           => '',
     691                'list_after'            => '',
    690692                'link_before'       => '<li class="bbp-forum">',
    691693                'link_after'        => '</li>',
    692694                'count_before'      => ' (',
     
    739741                }
    740742
    741743                // 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 );
    743745        }
    744746}
    745747