How to Hide Anti-Malware Security and Brute-Force Firewall Admin Menus

function plt_hide_gotmls_menus() {
	//Hide "Anti-Malware".
	remove_menu_page('GOTMLS-settings');
	//Hide "Anti-Malware → Scan Settings".
	remove_submenu_page('GOTMLS-settings', 'GOTMLS-settings');
	//Hide "Anti-Malware → Firewall Options".
	remove_submenu_page('GOTMLS-settings', 'GOTMLS-Firewall-Options');
	//Hide "Anti-Malware → View Quarantine".
	remove_submenu_page('GOTMLS-settings', 'GOTMLS_View_Quarantine');
}

add_action('admin_menu', 'plt_hide_gotmls_menus', 17);

Where do I put this code?