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 → Envira Gallery".
	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 → Addons".
	remove_submenu_page('edit.php?post_type=envira', 'envira-gallery-lite-addons');
}

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

Where do I put this code?