How to Hide the "Update Cache" Admin Menu

function plt_hide_update_page_cache_menus() {
	//Hide the "Update Cache" menu.
	remove_menu_page('upc_settings');
}

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

Where do I put this code?