id summary reporter owner description type status priority milestone component version severity resolution keywords cc 6850 Filter for activity sql JOIN query jozik boonebgorges "Similar to #2674, can you please add filter for activity sql JOIN query? bp-activity/classes/class-bp-activity-activity.php line 460 BP_Activity_Activity::get() Existing WHERE condition filter {{{#!php $where_conditions = apply_filters( 'bp_activity_get_where_conditions', $where_conditions, $r, $select_sql, $from_sql, $join_sql ); $where_sql = 'WHERE ' . join( ' AND ', $where_conditions ); }}} Sometimes cannot be used without JOIN filter. Is there possibility to add something like?: {{{#!php apply_filters( 'bp_activity_get_join', array( $join_sql ), $r, $select_sql, $from_sql ); }}} Thank you. === I'm trying to exclude some activities based on data in other tables without affecting pagination, counting and other stuff." enhancement closed normal 2.5 Activity normal fixed