Open assignment in same tab

Add the following code in wplms-customizer.php

add_action('init',function (){
    remove_action('wplms_event_after_content','wplms_unit_assignments',1,2);
    remove_action('wplms_after_every_unit','wplms_unit_assignments',1,2);
});


add_action('wplms_event_after_content','wplms_unit_assignmentsss',1,2);
add_action('wplms_after_every_unit','wplms_unit_assignmentsss',1,2);

function wplms_unit_assignmentsss($unit_id){
          $assignment_ids = get_post_meta($unit_id,'vibe_assignment',false);
          if(is_Array($assignment_ids) && is_array($assignment_ids[0]))
            $assignment_ids = vibe_sanitize($assignment_ids);
 
          $assignment_duration_parameter = apply_filters('vibe_assignment_duration_parameter',86400);
          ;
          if(isset($assignment_ids) && is_array($assignment_ids))
          foreach($assignment_ids as $assignment_id){
            if(is_numeric($assignment_id)){
              $marks = get_post_meta($assignment_id,'vibe_assignment_marks',true);
              $duration = get_post_meta($assignment_id,'vibe_assignment_duration',true);
               echo '<h3 class="assignment_heading heading">'.__('ASSIGNMENT : ','wplms-assignments').'
               <strong><a href="'.get_permalink($assignment_id).'">'.get_the_title($assignment_id).'<i class="icon-in-alt"></i></a></strong>
               <span>'.__('MARKS : ','wplms-assignments').$marks.'</span>
               <span>'.__('DURATION : ','wplms-assignments').(function_exists('tofriendlytime')?tofriendlytime($duration*$assignment_duration_parameter):$duration.__(' days','wplms-assignments')).'</span>
               </h3>';
        }
    }
}