Restrict user from completing the course without passing the Quiz

We have now added two filters for this : wplms_finish_course_check and wplms_unfinished_unit_quiz_message

NOTE : This tip is no longer required for WPLMS versions 1.9.4 as it is inbuilt in WP Admin – LMS – Settings section

1. Add following code in WP Admin -> Plugins -> Editor -> WPLMS Customizer -> wplms-customizer.php

Add this code in child theme->functions.php

You need to add a Custom field in quiz for each quiz you want to enable this feature, which is used in above code, quiz_passing_score

Was this article helpful?

Related Articles