apply_filters( 'bp_activity_user_can_read', bool $retval , int $user_id , BP_Activity_Activity $activity )
Filters whether the current user has access to an activity item.
Description
Parameters
- $retval
-
Return value.
- $user_id
-
Current user ID.
- $activity
-
Activity object.
Source
Changelog
Version | Description |
---|---|
BuddyPress 3.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.