function plt_hide_osm_maintenance_mode_menus() { //Hide the "OSM Maintenance" menu. remove_menu_page('osm-maintenance'); } add_action('admin_menu', 'plt_hide_osm_maintenance_mode_menus', 11);
Where do I put this code?