This tip will help in redirecting a user to a custom page after the user has submitted the course.

a. Go to WP Admin -> Plugins -> Editor -> WPLMS Customizer -> customizer_Class.php
b. Add the following line in function _contstruct :

PHP Code:

 

add_action('template_redirect',array($this,'wplms_redirect_to_custom_page'));  

 

c. Add the following function in class :

PHP Code:

 

function wplms_redirect_to_custom_page(){
          if(isset($_POST['submit_course']) && isset($_POST['review']) && wp_verify_nonce($_POST['review'],get_the_ID())){ // Only for Validation purpose  
                $user_id=get_current_user_id();
                bp_course_record_activity(array(
                      'action' => 'Student Submitted the course '.get_the_title(),
                      'content' => 'Student '.bp_core_get_userlink(get_current_user_id()).' submitted the course '.get_the_title().' for evaluation',
                      'type' => 'submit_course',
                      'item_id' => get_the_ID(),
                      'primary_link'=>get_permalink(get_the_ID()),
                      'secondary_item_id'=>$user_id
                    )); 

                wp_redirect('http://google.com'); // my custom page
            }
        }