Skip to:
Content

BuddyPress.org

Changeset 2128 for trunk/bp-activity.php


Ignore:
Timestamp:
11/25/2009 08:38:56 PM (12 years ago)
Author:
apeatling
Message:

Activity stream commenting updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r2114 r2128  
    241241
    242242        'search_terms' => false, // Pass search terms as a string
     243        'show_hidden' => false, // Show activity items that are hidden site-wide?
    243244
    244245        /**
     
    258259    extract( $r, EXTR_SKIP );
    259260
    260     return apply_filters( 'bp_activity_get_sitewide', BP_Activity_Activity::get_sitewide_activity( $max, $page, $per_page, $sort, $search_terms, $filter, $display_comments ), &$r );
     261    return apply_filters( 'bp_activity_get_sitewide', BP_Activity_Activity::get_sitewide_activity( $max, $page, $per_page, $sort, $search_terms, $filter, $display_comments, $show_hidden ), &$r );
    261262}
    262263
     
    273274
    274275        'search_terms' => false, // Pass search terms as a string
     276        'show_hidden' => false, // Show activity items that are hidden site-wide?
     277
     278        /* See bp_activity_get_sitewide() for filters */
    275279        'filter' => array()
    276280    );
     
    279283    extract( $r, EXTR_SKIP );
    280284
    281     return apply_filters( 'bp_activity_get_for_user', BP_Activity_Activity::get_activity_for_user( $user_id, $max, $page, $per_page, $sort, $search_terms, $filter, $display_comments ), &$r );
     285    return apply_filters( 'bp_activity_get_for_user', BP_Activity_Activity::get_activity_for_user( $user_id, $max, $page, $per_page, $sort, $search_terms, $filter, $display_comments, $show_hidden ), &$r );
    282286}
    283287
Note: See TracChangeset for help on using the changeset viewer.