get_user_url($user_id)
This function returns the user’s profile url.
Options:
OPTIONS | DEFAULT | ALTERNATIVES |
---|---|---|
user_id | User ID should be passed as parameter | current or custom user id |
Example:
global $xoouserultra; //get user url $user_id = get_current_user_id(); $user_url = $xoouserultra->api->get_user_url($user_id ); echo $user_url;