bp_activity_get_where_conditions, $where_conditions, $r, $select_sql, $from_sql, $join_sql

bp_activity_get_where_conditions, $where_conditions, $r, $select_sql, $from_sql, $join_sql

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.14.5.2

apply_filters('bp_activity_get_where_conditions, $where_conditions, $r, $select_sql, $from_sql, $join_sql') is found 1 times:

  • /bp-activity/classes/class-bp-activity-activity.php line 666
    		 * @param string $select_sql       Current SELECT MySQL statement at point of execution.
    		 * @param string $from_sql         Current FROM MySQL statement at point of execution.
    		 * @param string $join_sql         Current INNER JOIN MySQL statement at point of execution.
    		 */
    		$where_conditions = apply_filters( 'bp_activity_get_where_conditions', $where_conditions, $r, $select_sql, $from_sql, $join_sql );
    
    		// Join the where conditions together.
    		$where_sql = 'WHERE ' . join( ' AND ', $where_conditions );
    
    		/**
    		 * Filter the MySQL JOIN clause for the main activity query.