function plt_hide_misterplan_menus() { //Hide the "MisterPlan" menu. remove_menu_page('mrplan_admin'); } add_action('admin_menu', 'plt_hide_misterplan_menus', 11);
Where do I put this code?