How to Hide Envira Gallery Lite Admin Menus

function plt_hide_envira_gallery_lite_menus() {
	//Hide "Envira Gallery".
	remove_menu_page('edit.php?post_type=envira');
	//Hide "Envira Gallery → All Galleries".
	remove_submenu_page('edit.php?post_type=envira', 'edit.php?post_type=envira');
	//Hide "Envira Gallery → Add New".
	remove_submenu_page('edit.php?post_type=envira', 'post-new.php?post_type=envira');
	//Hide "Envira Gallery → Albums".
	remove_submenu_page('edit.php?post_type=envira', 'envira-gallery-lite-albums');
	//Hide "Envira Gallery → Settings".
	remove_submenu_page('edit.php?post_type=envira', 'envira-gallery-settings');
	//Hide "Envira Gallery → Addons".
	remove_submenu_page('edit.php?post_type=envira', 'envira-gallery-lite-addons');
	//Hide "Envira Gallery → About Us".
	remove_submenu_page('edit.php?post_type=envira', 'envira-gallery-lite-about-us');
	//Hide "Envira Gallery → Upgrade to Pro".
	remove_submenu_page('edit.php?post_type=envira', 'http://enviragallery.com/lite/?utm_source=liteplugin&utm_medium=adminsidebar&utm_campaign=unlockprosidebar');
}

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

Where do I put this code?