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

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

View on Trac



Top ↑

Changelog 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.