> <?php esc_html_e( 'Assessment', 'quiztech' ); // TODO: Make title dynamic ?>

token, 'quiztech_prescreening_nonce' ); ?> $question ) : ?>

Pre-screening Data: ' . esc_html( print_r( $pre_screening_questions, true ) ) . ''; ?>

assessment_id ) ); ?>

assessment_id; // Fetch question IDs associated with the assessment (assuming stored in 'question_ids' meta field) $question_ids = get_post_meta( $assessment_id, 'question_ids', true ); if ( is_array( $question_ids ) && ! empty( $question_ids ) ) : ?>
token, 'quiztech_assessment_nonce' ); ?>

post_type ) { continue; // Skip if post not found or not a question } $question_title = get_the_title( $question_post ); $question_type = get_post_meta( $question_id, 'question_type', true ); ?>




' . esc_html__( 'Could not load questions for this assessment.', 'quiztech' ) . '

'; // Debugging info: // echo '
Question IDs Data: ' . esc_html( print_r( $question_ids, true ) ) . '
'; endif; ?>