function plt_hide_ab_courses_table_for_tutor_lms_menus() { //Hide the "Settings → Courses Table" menu. remove_submenu_page('options-general.php', 'abct-settings'); } add_action('admin_menu', 'plt_hide_ab_courses_table_for_tutor_lms_menus', 11);
Where do I put this code?