Skip to:
Content

bbPress.org

Ticket #2354: template-tags-filter.diff

File template-tags-filter.diff, 438 bytes (added by nofearinc, 11 years ago)

includes/common/template-tags.php filter added for get_posts args

  • template-tags.php

     
    14351435                        'disable_categories' => $r['disable_categories']
    14361436                );
    14371437
     1438                $post_arr = apply_filters( 'bbp_dropdown_filter_args', $post_arr );
     1439
    14381440                $posts = get_posts( $post_arr );
    14391441
    14401442                /** Drop Down *********************************************************/