How to Hide Visitor Traffic Real Time Statistics Admin Menus

function plt_hide_visitors_traffic_real_time_statistics_menus() {
	//Hide "Visitor Traffic".
	remove_menu_page('ahc_hits_counter_menu_free');
	//Hide "Visitor Traffic → Visitor Traffic".
	remove_submenu_page('ahc_hits_counter_menu_free', 'ahc_hits_counter_menu_free');
	//Hide "Visitor Traffic → Settings".
	remove_submenu_page('ahc_hits_counter_menu_free', 'ahc_hits_counter_settings');
	//Hide "Visitor Traffic → Help".
	remove_submenu_page('ahc_hits_counter_menu_free', 'ahc_hits_counter_help');
	//Hide "Visitor Traffic → More Products".
	remove_submenu_page('ahc_hits_counter_menu_free', 'ahc_hits_counter_about');
}

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

Where do I put this code?