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