• Resolved elham94

    (@elham94)


    Hi, can you please add a hook in controllers/show_exam.php file
    at line 297

    as this line
    $final_output = apply_filters(‘watu_final_screen’,$final_output, $taking_id,$exam , $questions,$result);

    because I need to alter the final output programmatically based on those attributes.

    and one last thing, can you please allow us to alter the alert when the user click next without choosing an answer

    I want to show a bootstrap modal but I do not want to alter the file.

    Thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter elham94

    (@elham94)

    the hook should be before

    if(!empty($do_redirect)) {
    if(empty($exam->no_ajax)) echo “WATU_REDIRECT:::”.$do_redirect;
    }
    else echo $final_output;

    Plugin Author Bob

    (@prasunsen)

    No problem, however the update will be in January

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add new hook in show_exam.php’ is closed to new replies.