How to Hide AdFoxly - WP Ads Manager Admin Menus

function plt_hide_adfoxly_menus() {
	//Hide "AdFoxly".
	remove_menu_page('adfoxly');
	//Hide "AdFoxly → AdFoxly".
	remove_submenu_page('adfoxly', 'adfoxly');
	//Hide "AdFoxly → Create ad".
	remove_submenu_page('adfoxly', 'adfoxly-new');
	//Hide "AdFoxly → Ads".
	remove_submenu_page('adfoxly', 'adfoxly-banners');
	//Hide "AdFoxly → Places".
	remove_submenu_page('adfoxly', 'adfoxly-places');
	//Hide "AdFoxly → Groups".
	remove_submenu_page('adfoxly', 'adfoxly-groups');
	//Hide "AdFoxly → Campaigns".
	remove_submenu_page('adfoxly', 'adfoxly-campaigns');
	//Hide "AdFoxly → Settings".
	remove_submenu_page('adfoxly', 'adfoxly-settings');
	//Hide "AdFoxly → Analytics (beta)".
	remove_submenu_page('adfoxly', 'adfoxly-analytics');
	//Hide "AdFoxly → Affiliation".
	remove_submenu_page('adfoxly', 'adfoxly-affiliation');
	//Hide "AdFoxly → Contact Us".
	remove_submenu_page('adfoxly', 'adfoxly-contact');
	//Hide "AdFoxly → Upgrade".
	remove_submenu_page('adfoxly', 'adfoxly-pricing');
}

add_action('admin_menu', 'plt_hide_adfoxly_menus', 1000000000);

Where do I put this code?