I use custom roles (using plugins such as User Role Editor and Pages by User Role), and would like to hide courses from the directory based on Role. Similar to your integration with the Groups plugin (https://wplms.io/support/knowledge-base/integration-with-groups-membership-groups-woocommerce/), but for native Roles instead.
Heres the plugin used to control pages by role for reference:
http://plugins.righthere.com/pages-by-user-role/
Thanks!
@mremgi
Can you please explain it a little bit.
For instructors, on which courses you want to restrict access and describe for students as well.
Basically, if I change a Course's role access permission to only Administrators for example like this:
https://ibb.co/kyjOQe
The course still shows up in the directory. I was wondering if there is a way to prevent the course from showing up in the directory if I change the role permissions on that course.
@mremgi,
You are using a third-party plugin for this. I didn't tested any such kind of plugin but for now there is no setting in wplms.
We have this setting right now in wplms
Refer:
https://wplms.io/support/knowledge-base/hide-courses-from-course-directory-and-the-site/
Ended up getting this working. this is the page that helped me fyi (in case anyone else runs into this problem)
https://wplms.io/support/knowledge-base/integration-with-restrict-content-pro-or-other-membership-plugins/
Thanks!