-
Home
-
Tutor LMS – eLearning and online course solution
- Tips
function plt_hide_tutor_menus() {
remove_submenu_page('index.php', 'tutor-setup');
remove_menu_page('tutor');
remove_submenu_page('tutor', 'tutor');
remove_submenu_page('tutor', 'tutor-new-feature');
remove_submenu_page('tutor', 'tutor_orders');
remove_submenu_page('tutor', 'tutor_coupons');
remove_submenu_page('tutor', 'create-course');
remove_submenu_page('tutor', 'edit-tags.php?taxonomy=course-category&post_type=courses');
remove_submenu_page('tutor', 'edit-tags.php?taxonomy=course-tag&post_type=courses');
remove_submenu_page('tutor', 'tutor-students');
remove_submenu_page('tutor', 'tutor_announcements');
remove_submenu_page('tutor', 'question_answer');
remove_submenu_page('tutor', 'tutor_quiz_attempts');
remove_submenu_page('tutor', 'tutor-addons');
remove_submenu_page('tutor', 'tutor-tools');
remove_submenu_page('tutor', 'tutor_settings');
remove_submenu_page('tutor', 'tutor-get-pro');
}
add_action('admin_menu', 'plt_hide_tutor_menus', 11);
Where do I put this code?