Hello,
After click a quiz retake button is clicked, there is any way to redirect to specific unit?
I inderstand the into:
function bp_course_student_quiz_retake($args)
we could insert a function for that, but how to make it?
Thanks
Oriol Soler
I have already replied on this topic.
This reply has been marked as private.
Ok we will need some details about it .
Do you want this on both
quizzes single and i
ncourse quizzes ?
This reply has been marked as private.
Ok we understand it .
You will need these two filters in order to laod your specific unit :
add_filter('wplms_get_course_unfinished_unit',load_unit');
add_filter('wplms_get_course_unfinished_unit_key','unit_key',10,3);
function load_unit($unit_id){
return $unit_id;
}
function unit_key($key,$unit_id,$course_id){
return $key;
}
where unit id will be the unit you want to load and key will be the key of the unit in course curriculum you want to load .
It's clear. I got my goal, thanks.
thanks for confirming, closing this topic.