Skip to:
Content

BuddyPress.org

Ticket #2099: bp_has_blogs_filter.diff

File bp_has_blogs_filter.diff, 506 bytes (added by boonebgorges, 14 years ago)
  • bp-blogs/bp-blogs-templatetags.php

     
    144144        }
    145145
    146146        $blogs_template = new BP_Blogs_Template( $type, $page, $per_page, $max, $user_id, $search_terms );
    147         return $blogs_template->has_blogs();
     147       
     148        return apply_filters( 'bp_has_blogs', $blogs_template->has_blogs(), &$blogs_template );
    148149}
    149150
    150151function bp_blogs() {