at path:
ROOT
/
wp-content
/
plugins
/
tutor
/
templates
/
single
/
quiz
/
content.php
run:
R
W
Run
parts
DIR
2026-04-14 05:34:27
R
W
Run
body.php
4.1 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
content.php
816 By
2026-04-14 05:34:27
R
W
Run
Delete
Rename
no_course_belongs.php
513 By
2026-04-14 05:34:27
R
W
Run
Delete
Rename
previous-attempts.php
2.1 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
single_quiz_contents.php
830 By
2026-04-14 05:34:27
R
W
Run
Delete
Rename
top.php
5.67 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
error_log
up
📄
content.php
Save
<?php /** * Quiz content * * @package Tutor\Templates * @subpackage Single\Quiz * @author Themeum <support@themeum.com> * @link https://themeum.com * @since 1.4.3 */ global $post; $currentPost = $post; //phpcs:ignore $quiz_id = get_the_ID(); $previous_attempts = tutor_utils()->quiz_attempts(); $attempted_count = is_array( $previous_attempts ) ? count( $previous_attempts ) : 0; $attempts_allowed = tutor_utils()->get_quiz_option( $quiz_id, 'attempts_allowed', 0 ); $attempt_remaining = $attempts_allowed - $attempted_count; if ( 0 !== $attempted_count ) { ?> <div id="tutor-quiz-content" class="tutor-quiz-content tutor-quiz-content-<?php the_ID(); ?>"> <?php do_action( 'tutor_quiz/content/before', $quiz_id ); do_action( 'tutor_quiz/content/after', $quiz_id ); ?> </div> <?php } ?>