ID; $points = $this->get_user_points($user_id); $achievements = $this->get_user_achievements($user_id); $levels = $this->get_user_levels($user_id); $streaks = $this->get_user_streaks($user_id); $is_admin = current_user_can('manage_options'); wp_nonce_field('gameengine_update_user_points', 'gameengine_points_nonce'); ?>
|
color) ? $level->color : '#6c5ce7';
if (!empty($level->icon) && strpos($level->icon, 'dashicons-') === 0) : ?>
icon)) : ?>
🏆
title); ?>
min_points > 0) : ?>
min_points)); ?> pts
|
|
|
|
|
|
badge_image)) : ?>
🎖️
title); ?>
|
|
|
🔥
|