How to Hide Download After Email Admin Menus

function plt_hide_download_after_email_menus() {
	//Hide "Downloads".
	remove_menu_page('edit.php?post_type=dae_download');
	//Hide "Downloads → All Downloads".
	remove_submenu_page('edit.php?post_type=dae_download', 'edit.php?post_type=dae_download');
	//Hide "Downloads → Add New Download".
	remove_submenu_page('edit.php?post_type=dae_download', 'post-new.php?post_type=dae_download');
	//Hide "Downloads → Messages".
	remove_submenu_page('edit.php?post_type=dae_download', 'dae-messages');
	//Hide "Downloads → Subscribers".
	remove_submenu_page('edit.php?post_type=dae_download', 'dae-subscribers');
	//Hide "Downloads → Options".
	remove_submenu_page('edit.php?post_type=dae_download', 'dae-options');
}

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

Where do I put this code?