How do you stop people viewing the course curriculum before sign up for the course

Ok this is possible, there are two ways to tackle this

1. Hide the Curriculum button for non-logged in members
2. Show an error message for users trying to check out curriculum

3. 1+2

The safest and recommended way is 3. So here is how you can achieve this :

1. Go to WP Admin -> Plugins -> Editor -> WPLMS Customizer -> customizer_class.php

2. Add the following code in __construct function :

PHP Code:

3. Add the following function in class :

PHP Code:


Was this article helpful?

Related Articles