How to Hide Stop Spammers Admin Menus

function plt_hide_stop_spammer_registrations_plugin_menus() {
	//Hide "Stop Spammers".
	remove_menu_page('stop_spammers');
	//Hide "Stop Spammers → Summary".
	remove_submenu_page('stop_spammers', 'stop_spammers');
	//Hide "Stop Spammers → Premium Security".
	remove_submenu_page('stop_spammers', 'ss_premium');
	//Hide "Stop Spammers → Protection Options".
	remove_submenu_page('stop_spammers', 'ss_options');
	//Hide "Stop Spammers → Allow Lists".
	remove_submenu_page('stop_spammers', 'ss_allow_list');
	//Hide "Stop Spammers → Block Lists".
	remove_submenu_page('stop_spammers', 'ss_deny_list');
	//Hide "Stop Spammers → Challenge & Deny".
	remove_submenu_page('stop_spammers', 'ss_challenge');
	//Hide "Stop Spammers → Web Services".
	remove_submenu_page('stop_spammers', 'ss_webservices_settings');
	//Hide "Stop Spammers → Cache".
	remove_submenu_page('stop_spammers', 'ss_cache');
	//Hide "Stop Spammers → Log Report".
	remove_submenu_page('stop_spammers', 'ss_reports');
	//Hide "Stop Spammers → Diagnostics".
	remove_submenu_page('stop_spammers', 'ss_diagnostics');
	//Hide "Stop Spammers → Beta: DB Cleanup".
	remove_submenu_page('stop_spammers', 'ss_option_maint');
}

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

Where do I put this code?