function plt_hide_my_woocommerce_product_virtual_showroom_menus() { //Hide the "Showroom" menu. remove_menu_page('MyWooCommerceShowroom_settings'); } add_action('admin_menu', 'plt_hide_my_woocommerce_product_virtual_showroom_menus', 11);
Where do I put this code?