I want to redirect non logged in uses to a custom registration page when they click on the "Take this course" button. How can I do that?
Also, the replies in old threads don't seem to work with WPLMS 4.0+.
this code doesn't work properly. The if_user_logged_in function returns false, even when I'm logged in.
Moreover, I have checked the option in LMS->Settings popup login for no logged-in users when clicking on the "take this course" button. However, it does nothing.
How can I resolve this issue?