Skip to:
Content

BuddyPress.org

Changeset 8187


Ignore:
Timestamp:
03/28/2014 01:10:19 AM (10 years ago)
Author:
boonebgorges
Message:

Add 'bp_activity_paged_activities_sql' filter, to allow last-minute filtering of activity IDs SQL query

Fixes #5480

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-classes.php

    r8125 r8187  
    435435            }
    436436
     437            $activity_ids_sql = apply_filters( 'bp_activity_paged_activities_sql', $activity_ids_sql, $r );
     438
    437439            $activity_ids = $wpdb->get_col( $activity_ids_sql );
    438440            $activities   = self::get_activity_data( $activity_ids );
Note: See TracChangeset for help on using the changeset viewer.