How to Hide the "Maintenance" Admin Menu

function plt_hide_maintenance_menus() {
	//Hide the "Maintenance" menu.
	remove_menu_page('maintenance');
}

add_action('admin_menu', 'plt_hide_maintenance_menus', 11);

Where do I put this code?