Get User’s Rating

get_user_rating($user_id)

This function returns the user’s rating.

Options:

OPTIONS DEFAULT ALTERNATIVES
user_id any user is should passed as parameter none

Example:

			
global $xoouserultra;
			
//get user avatar
$user_id = get_current_user_id();	
			
$rating= $xoouserultra->api->get_user_rating($user_id);
			
echo $rating;