[buddypress-trac] [BuddyPress Trac] #4184: Exclude specific user_id’s when querying for activities

buddypress-trac noreply at wordpress.org
Thu Oct 6 22:31:56 UTC 2022


#4184: Exclude specific user_id’s when querying for activities
--------------------------------------+--------------------------
 Reporter:  username_                 |       Owner:  espellcaste
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  11.0.0
Component:  Activity                  |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+--------------------------
Changes (by imath):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13337" 13337]:
 {{{
 #!CommitTicketReference repository="" revision="13337"
 Activity introduce 2 new parameters to `BP_Activity_Activity::get()``

 - The `user_id__in` parameter makes it possible to retrieve activities for
 a list of user IDs.
 - The `user_id__not_in` parameter makes it possible to exclude activity
 posted by a list of user IDs from retrieved activities.

 Props username_, slaFFik, boonebgorges

 Fixes #4184
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4184#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list