Get User Badges

get_user_badges($user_id)

This function returns the user badges.

Options:

OPTIONS DEFAULT ALTERNATIVES
user_id User ID should be passed as parameter current or custom user id

Example:

			
global $xoouserultra;

$user_id = get_current_user_id();				
$badges = $xoouserultra->api->get_user_badges($user_id );
echo $badges;