Redirect Back to course Button to a custom page

This tip will help in redirecting a user to a custom page when user clicks on back to course button on course status page

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

PHP Code:

c. Add the following function in class :

PHP Code:
 function redirect_back_to_course_button(){
 		global $current_user;
		$login_page='your-site-url/members/'. $current_user->user_login.'/course/';
 		echo '';


Was this article helpful?

Related Articles

1 Comment

  1. Sindhu

    Not able to modify customizer_Class.php or wplms-customizer.php file from Admin panel.
    Getting error

    Please let me know the FTP file locations of the above.

Leave a Reply to Sindhu Cancel Reply