How to Hide If-So Admin Menus

function plt_hide_if_so_menus() {
	//Hide "If-So".
	remove_menu_page('if-so');
	//Hide "If-So → All Triggers".
	remove_submenu_page('if-so', 'edit.php?post_type=ifso_triggers');
	//Hide "If-So → Add New Trigger".
	remove_submenu_page('if-so', 'http://127.0.0.1/wp-admin/post-new.php?post_type=ifso_triggers');
	//Hide "If-So → Audiences".
	remove_submenu_page('if-so', 'wpcdd_admin_menu_groups_list');
	//Hide "If-So → Geolocation".
	remove_submenu_page('if-so', 'wpcdd_admin_geo_license');
	//Hide "If-So → DKI".
	remove_submenu_page('if-so', 'https://www.if-so.com/help/documentation/dynamic-keyword-insertion/?utm_source=Plugin&utm_medium=Help&utm_campaign=PluginsPage&utm_term=dki');
	//Hide "If-So → Settings".
	remove_submenu_page('if-so', 'wpcdd_admin_menu_settings');
	//Hide "If-So → License".
	remove_submenu_page('if-so', 'wpcdd_admin_menu_license');
	//Hide "If-So → Addons".
	remove_submenu_page('if-so', 'https://www.if-so.com/add-ons-and-integrations/?utm_source=Plugin&utm_medium=pluginMenu&utm_campaign=addons');
}

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

Where do I put this code?