function plt_hide_zen_dash_menus() { //Hide the "Dashboard → Zen Dash" menu. remove_submenu_page('index.php', 'zendash'); } add_action('admin_menu', 'plt_hide_zen_dash_menus', 11);
Where do I put this code?