total_questions_for_student_by_quiz( get_the_ID() );
if ( $total_questions ) :
?>
:
get_quiz_option( get_the_ID(), 'time_limit.time_value' );
if ( $time_limit ) :
$time_type = tutor_utils()->get_quiz_option( get_the_ID(), 'time_limit.time_type' );
$available_time_type = array(
'seconds' => $time_limit > 1 ? __( 'Seconds', 'tutor' ) : __( 'Second', 'tutor' ),
'minutes' => $time_limit > 1 ? __( 'Minutes', 'tutor' ) : __( 'Minute', 'tutor' ),
'hours' => $time_limit > 1 ? __( 'Hours', 'tutor' ) : __( 'Hour', 'tutor' ),
'days' => $time_limit > 1 ? __( 'Days', 'tutor' ) : __( 'Day', 'tutor' ),
'weeks' => $time_limit > 1 ? __( 'Weeks', 'tutor' ) : __( 'Week', 'tutor' ),
);
?>
:
:
()
0 || 0 == $attempts_allowed ) :
do_action( 'tutor_quiz/start_form/before', $quiz_id );
$skip_url = get_the_permalink( $next_id ? $next_id : $course_id );
?>
'tutor-quiz-skip-to-next',
'title' => __( 'Do You Want to Skip This Quiz?', 'tutor' ),
'content' => __( 'Are you sure you want to skip this quiz? Please confirm your choice.', 'tutor' ),
'yes' => array(
'text' => __( 'Yes, Skip This', 'tutor' ),
'attr' => array( 'onclick="window.location=\'' . $skip_url . '\';"' ),
),
)
);
?>