BP_REST_Groups_Details_Endpoint::bp_rest_get_displayed_user( int $user_id )
Set current and display user with current user.
Description
Parameters
- $user_id
-
(Required) The user id.
Return
(int)
Source
File: bp-groups/classes/class-bp-rest-groups-details-endpoint.php
public function bp_rest_get_displayed_user( $user_id ) { return get_current_user_id(); }
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.