function plt_hide_1day_io_menus() { //Hide the "1Day options" menu. remove_menu_page('one_day_options'); } add_action('admin_menu', 'plt_hide_1day_io_menus', 11);
Where do I put this code?