Adding custom links in Student/Instructor login redirect

1. Note the custom link where you want to redirect the user to. Assume http://customlink for this example

2. Add this code in Child theme functions.php or WPLMS customiser plugin.

Adding custom link in student Login redirect:

Adding custom link in Instructor Login redirect:

Result :

3.  If it is a dynamic link like a section in user profile then generate the link, for example below code will take the user to messages section :

The second part of above code :

 

Was this article helpful?

Related Articles