function plt_hide_simple_lightbox_menus() { //Hide the "Appearance → Lightbox" menu. remove_submenu_page('themes.php', 'slb_options'); } add_action('admin_menu', 'plt_hide_simple_lightbox_menus', 12);
Where do I put this code?