0 ) {
$points_types_thumbnail_size = array( $points_types_thumbnail_size, $points_types_thumbnail_size );
} else {
$points_types_thumbnail_size = 'gamipress-points';
}
if( ! empty( $points_types_to_show ) ) : ?>
$user_id,
'achievement_type' => $achievement_type_to_show,
'limit' => ( $achievements_limit > 0 ? $achievements_limit : -1 ),
'groupby' => 'achievement_id',
'display' => true,
) );
// If user has not earned any achievements of this type, skip
if( empty( $user_achievements ) ) {
continue;
} ?>
:
ID, $achievement_types_thumbnail_size ); ?>
ID ); ?>
0 ) {
$rank_types_thumbnail_size = array( $rank_types_thumbnail_size, $rank_types_thumbnail_size );
} else {
$rank_types_thumbnail_size = 'gamipress-rank';
}
if( ! empty( $rank_types_to_show ) ) : ?>