How to remove the correct answer shown at finising exam

Home Forums Legacy Support Support queries How-to & Troubleshooting How to remove the correct answer shown at finising exam

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #310429
    mine-class
    Participant
    Is it possible to remove the correct answers shown at finishing exam? (see screenshot https://prnt.sc/uh3jfj) We check this option at config but it didnt work (see screenshot https://prnt.sc/uh3k9g)
    #310945
    Diana
    Participant
    just copy the code from here and then goto wp-admin -> plugins -> editor -> select wplms customizer plugin -> wplms-customizer.php and add here add_filter(‘wplms_hide_quiz_result_details’,function($flag,$quiz_id){
    return 1;
    
    },10,2);
    #311047
    mine-class
    Participant
    Thanks is it possible to remove this only for certain exam or courses?
    #311394
    Diana
    Participant
    Yes, then the code will be like this:
    
    
    add_filter('wplms_hide_quiz_result_details',function($flag,$quiz_id){
    if($quiz_id == 'X'){
    return 1;
    }
    },10,2);
    
    
    Instead of X pass quiz id
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to remove the correct answer shown at finising exam’ is closed to new replies.