course_id, $active_ids, false ) && ! isset( $completed[ $e->course_id ] ) ) { // phpcs:ignore WordPress.PHP.StrictInArray.FoundNonStrictFalse -- ids from the database are strings.
$completed[ $e->course_id ] = $e;
}
}
$certificates = Certificates::get_user_certificates( $user_id );
$total_points = Gamification::get_total_points( $user_id );
$badges = Gamification::get_user_badges( $user_id );
?>
course_id );
if ( $course ) :
Template_Loader::get_partial(
'course-card.php',
array(
'course' => $course,
'show_progress' => true,
)
);
endif;
endforeach;
?>
course_id );
if ( $course ) :
Template_Loader::get_partial(
'course-card.php',
array(
'course' => $course,
'show_progress' => true,
)
);
endif;
endforeach;
?>
$badges ) ); ?>
course_id );
?>
post_title : '#' . $cert->course_id ); ?>
|
|
|
|
| quiz_id ) ); ?> |
score ); ?>% |
|
|