apply_filters( 'bp_activity_comments_user_join_filter', string $value, int $activity_id, int $left, int $right, string $spam_sql )

Filters the MySQL prepared statement for the legacy activity query.

Description

Parameters

$value

(string) Prepared statement for the activity query.

$activity_id

(int) Activity ID to fetch comments for.

$left

(int) Left-most node boundary.

$right

(int) Right-most node boundary.

$spam_sql

(string) SQL Statement portion to differentiate between ham or spam.

Source

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

Changelog

Changelog
Version Description
BuddyPress 1.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.