Hi Samuel,
Thanks for reaching out and also for reporting the conflict on GitHub π.
The preview as student feature was designed to be used by site Admin’s and Teachers during the process of creating the course. Ideally the feature should not show up for anyone else or disrupt the website’s functionality in any way.
Can you give me some more details on what problem the feature is causing on your website, and why exactly are you looking to disable this feature?
Best,
Hi Gaurav, please check my Github issue: https://ingtec.ch/de/industrien-schuettgut/farb-u-lackindustrie/
There are all the details π
Hi Samuel,
You can disable the Preview as student by adding the following filter.
add_filter( 'sensei_feature_preview_students', '__return_false' );
Best,
@gaurav984 thanks. Can someone change the URL in my previous Answer? It should be: https://github.com/Automattic/sensei/issues/6840
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Can someone change the URL in my previous Answer?
No. Also there is no need; you provided the URL in your new reply. π
Hey @samuelfernandez – we can’t change the URL as Jan mentioned above. But since we got your correct URL there is no issue. π
I have asked our team to look into the issue. We will update you on the GitHub or here in the forum once we have an update.
Hey @samuelfernandez – the team will update you about the issue you have reported in GitHub so for now I’m closing this topic but If you have any further questions or need some more help, youβre welcome to reply here and mark this topic as “not resolved” from the left sidebar of this topic (example) or open another thread.