How to Hide Product Catalog Admin Menus

function plt_hide_ultimate_product_catalogue_menus() {
	//Hide "Product Catalog".
	remove_menu_page('UPCP-options');
	//Hide "Product Catalog → Product Catalog".
	remove_submenu_page('UPCP-options', 'UPCP-options');
	//Hide "Product Catalog → Products".
	remove_submenu_page('UPCP-options', 'UPCP-options&DisplayPage=Products');
	//Hide "Product Catalog → Catalogs".
	remove_submenu_page('UPCP-options', 'UPCP-options&DisplayPage=Catalogues');
	//Hide "Product Catalog → Categories".
	remove_submenu_page('UPCP-options', 'UPCP-options&DisplayPage=Categories');
	//Hide "Product Catalog → Sub-Categories".
	remove_submenu_page('UPCP-options', 'UPCP-options&DisplayPage=SubCategories');
	//Hide "Product Catalog → Tags".
	remove_submenu_page('UPCP-options', 'UPCP-options&DisplayPage=Tags');
	//Hide "Product Catalog → Custom Fields".
	remove_submenu_page('UPCP-options', 'UPCP-options&DisplayPage=CustomFields');
	//Hide "Product Catalog → Product Page".
	remove_submenu_page('UPCP-options', 'UPCP-options&DisplayPage=ProductPage');
	//Hide "Product Catalog → Options".
	remove_submenu_page('UPCP-options', 'UPCP-options&DisplayPage=Options');
	//Hide "Product Catalog → Styling".
	remove_submenu_page('UPCP-options', 'UPCP-options&DisplayPage=Styling');
}

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

Where do I put this code?