function plt_hide_scan_to_login_menus() { //Hide the "Settings → Scan-to-Login" menu. remove_submenu_page('options-general.php', 'scantologin'); } add_action('admin_menu', 'plt_hide_scan_to_login_menus', 11);
Where do I put this code?