bp_rest_get_user_url( int $user_id )
Get user URL.
Description
Parameters
- $user_id
-
(Required) User ID.
Return
(string)
Source
File: bp-core/bp-core-rest-api.php
function bp_rest_get_user_url( $user_id ) { return sprintf( '/%s/%s/members/%d', bp_rest_namespace(), bp_rest_version(), $user_id ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.3.5 | 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.