apply_filters( 'bp_activity_get_join_sql', string $join_sql, array $r, string $select_sql, string $from_sql, string $where_sql )

Filter the MySQL JOIN clause for the main activity query.

Description

Parameters

$join_sql

(string) JOIN clause.

$r

(array) Method parameters.

$select_sql

(string) Current SELECT MySQL statement.

$from_sql

(string) Current FROM MySQL statement.

$where_sql

(string) Current WHERE MySQL statement.

Source

File: bp-activity/classes/class-bp-activity-activity.php

Changelog

Changelog
Version Description
BuddyPress 2.5.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.