BP_REST_Activity_Endpoint::can_see( WP_REST_Request $request )

Can this user see the activity?

Parameters Parameters


(WP_REST_Request) (Required) Full details about the request.

Top ↑

Return Return


Source 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 ),

Top ↑

Changelog Changelog

Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.