function plt_hide_don8_menus() { //Hide the "Settings → Don8" menu. remove_submenu_page('options-general.php', 'don8'); } add_action('admin_menu', 'plt_hide_don8_menus', 11);
Where do I put this code?