STEP 1 – Place Shortcode in WordPress Page:
You will find the Group Restriction shortcode and Restrict Content box in your WordPress admin area navigating to the LearnDash LMS menu ➡ Group Restriction.
You can copy the shortcode from here.
After updating the restriction message just click on the Save Setting button.
Place the shortcode into the WordPress page and update it.
Click on the link to view the page. If you are not added as a group leader, the courses and lessons are not shown.
STEP 2 – Group Leaders Can Access Frontend Interface:
If you are added as a group leader, the courses and lessons can be viewed.
STEP 3 – Restricting Courses & Lessons:
a) Restricting courses
First, you need to enable the restriction button of the specific courses to restrict it.
After you reload the page, the courses are restricted with their content.
b) Restricting lessons
Here, You need to enable the buttons of the specific lessons you want to restrict.
After you reload the page, you find the lessons are restricted with their restriction content.
That’s it. Enjoy the plugin.