BP_REST_Account_Settings_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-settings/classes/class-bp-rest-account-settings-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.