Remove Tabs from Student Enrolled course Single course View

This code tip will remove “Announcements”, “News”, “Notes”, “Questions & Answers” Tabs from Single course – Student view.


add_filter('wplms_get_course_tabs',function($tabs){
unset($tabs['announcementsnews']);
unset($tabs['qna']);
unset($tabs['notes']);
return $tabs;
});

view raw

functions.php

hosted with ❤ by GitHub

Was this article helpful?

Related Articles

Leave A Comment?