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

Prepared statement for the activity query.

$activity_id

Activity ID to fetch comments for.

$left

Left-most node boundary.

$right

Right-most node boundary.

$spam_sql

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.