Skip to content

Commit c4e6d3e

Browse files
authored
Create lifterlms-change-quiz-resume-time.php
1 parent c9e2f71 commit c4e6d3e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php // Don't copy this line!
2+
/**
3+
* Modify the amount of time after starting a quiz attempt that a student can resume it, if enabled.
4+
*/
5+
6+
add_filter( 'llms_quiz_attempt_resume_time_period', function() {
7+
// Amount of time in hours. Default is 24 (one day).
8+
return 48;
9+
} );

0 commit comments

Comments
 (0)