[buddypress-trac] [BuddyPress Trac] #7891: Need a filter for restricting activity comment/replies query

buddypress-trac noreply at wordpress.org
Sat Jun 2 04:42:00 UTC 2018


#7891: Need a filter for restricting activity comment/replies query
-------------------------+-----------------------------
 Reporter:  sbrajesh     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Activity     |    Version:  3.0.0
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 In !BuddyPress, we don't have any way to modify which activity replies get
 fetched. If  we enable Legacy query, It is feasible though.

 I need a filter to allow restricting sql queries for fetching activity
 comments.

 The method where I need it is
 BP_Activity_Activity::get_activity_comments()

 I have been working on a moderation plugin that needs some activity
 comments to be hidden. Even when I set the hide_sitewide=1 for the
 "activity_comment" activity type, It is still viewable.

 Providing a filter, like we have for activity query will be nice and allow
 manipulating the comments.

 Also, is there anyway, we can enable activity comments to honour
 hide_sitewide=1. It will be a great help too.

 Thank you for looking into it.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7891>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list