BP_REST_Activity_Endpoint::can_see( WP_REST_Request $request )
Can this user see the activity?
Description
Parameters
- $request
-
(Required) Full details about the request.
Return
(boolean)
Source
File: bp-activity/classes/class-bp-rest-activity-endpoint.php
protected function can_see( $request ) { return bp_activity_user_can_read( $this->get_activity_object( $request ), bp_loggedin_user_id() ); }
Changelog
Version | Description |
---|---|
0.1.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.