Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/10/2009 06:34:52 PM (17 years ago)
Author:
apeatling
Message:

Added extra filtering on template loops, applies to #980 props jeffsayre.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-wire/bp-wire-templatetags.php

    r1834 r1844  
    120120       
    121121    $wire_posts_template = new BP_Wire_Posts_Template( $item_id, $component_slug, $can_post, $per_page, $max );     
    122     return $wire_posts_template->has_wire_posts();
     122    return apply_filters( 'bp_has_wire_posts', $wire_posts_template->has_wire_posts(), &$wire_posts_template );
    123123}
    124124
Note: See TracChangeset for help on using the changeset viewer.