How to Hide Better Analytics & Insights Admin Menus

function plt_hide_better_analytics_insights_menus() {
	//Hide the "Ecomfit" menu.
	remove_menu_page('ecomfit-app');
	//Hide the "Ecomfit → Ecomfit" menu.
	remove_submenu_page('ecomfit-app', 'ecomfit-app');
	//Hide the "Ecomfit → Analytics" menu.
	remove_submenu_page('ecomfit-app', 'ecomfit-analytics-app');
}

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

Where do I put this code?