How to Hide the "Customize" Admin Menu

function plt_hide_customize_snapshots_menus() {
	//Hide the "Customize" menu.
	remove_menu_page('customize.php');
}

add_action('admin_menu', 'plt_hide_customize_snapshots_menus', 100);

Where do I put this code?