function plt_hide_theme_check_menus() { //Hide the "Appearance → Theme Check" menu. remove_submenu_page('themes.php', 'themecheck'); } add_action('admin_menu', 'plt_hide_theme_check_menus', 11);
Where do I put this code?