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.

Parameters Parameters


(string) Prepared statement for the activity query.


(int) Activity ID to fetch comments for.


(int) Left-most node boundary.


(int) Right-most node boundary.


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

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.