function plt_hide_marklane_menus() { //Hide the "Tools → Marklane" menu. remove_submenu_page('tools.php', 'marklane'); } add_action('admin_menu', 'plt_hide_marklane_menus', 11);
Where do I put this code?