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
- $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 Source
Changelog Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |