job_id );
$assessment_post = get_post( $invitation_data->assessment_id );
if ( ! $job_post || ! $assessment_post ) {
wp_die( esc_html__( 'Could not load associated job or assessment details.', 'quiztech' ) );
}
$job_title = get_the_title( $job_post );
$assessment_title = get_the_title( $assessment_post );
// Consider fetching job description/content if needed: $job_content = apply_filters('the_content', $job_post->post_content);
// Determine if pre-screening should be displayed
$show_pre_screening = ! empty( $pre_screening_questions ) && is_array( $pre_screening_questions ) && $invitation_data->status === 'sent';
?>
>
' . wp_kses_post( $job_content ) . '';
}
*/ ?>
00:00
assessment_id;
// Fetch question IDs associated with the assessment
$question_ids = get_post_meta( $assessment_id, '_quiztech_linked_question_ids', true );
if ( is_array( $question_ids ) && ! empty( $question_ids ) ) :
?>
' . esc_html__( 'Could not load questions for this assessment.', 'quiztech' ) . '';
// Debugging info:
// echo '
Question IDs Data: ' . esc_html( print_r( $question_ids, true ) ) . '
';
endif;
?>