Created
September 13, 2021 06:31
-
-
Save MrVibe/c17b7410e5d89ee324cbd1d2218a3669 to your computer and use it in GitHub Desktop.
Remove Course Tabs from Single course view in Enrolled courses
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('wplms_get_course_tabs',function($tabs){ | |
unset($tabs['announcementsnews']); | |
unset($tabs['qna']); | |
unset($tabs['notes']); | |
return $tabs; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment