How to Hide All In One WP Security Admin Menus

function plt_hide_all_in_one_wp_security_and_firewall_menus() {
	//Hide "WP Security".
	remove_menu_page('aiowpsec');
	//Hide "WP Security → Dashboard".
	remove_submenu_page('aiowpsec', 'aiowpsec');
	//Hide "WP Security → Settings".
	remove_submenu_page('aiowpsec', 'aiowpsec_settings');
	//Hide "WP Security → User Accounts".
	remove_submenu_page('aiowpsec', 'aiowpsec_useracc');
	//Hide "WP Security → User Login".
	remove_submenu_page('aiowpsec', 'aiowpsec_userlogin');
	//Hide "WP Security → User Registration".
	remove_submenu_page('aiowpsec', 'aiowpsec_user_registration');
	//Hide "WP Security → Database Security".
	remove_submenu_page('aiowpsec', 'aiowpsec_database');
	//Hide "WP Security → Filesystem Security".
	remove_submenu_page('aiowpsec', 'aiowpsec_filesystem');
	//Hide "WP Security → WHOIS Lookup".
	remove_submenu_page('aiowpsec', 'aiowpsec_whois');
	//Hide "WP Security → Blacklist Manager".
	remove_submenu_page('aiowpsec', 'aiowpsec_blacklist');
	//Hide "WP Security → Firewall".
	remove_submenu_page('aiowpsec', 'aiowpsec_firewall');
	//Hide "WP Security → Brute Force".
	remove_submenu_page('aiowpsec', 'aiowpsec_brute_force');
	//Hide "WP Security → SPAM Prevention".
	remove_submenu_page('aiowpsec', 'aiowpsec_spam');
	//Hide "WP Security → Scanner".
	remove_submenu_page('aiowpsec', 'aiowpsec_filescan');
	//Hide "WP Security → Maintenance".
	remove_submenu_page('aiowpsec', 'aiowpsec_maintenance');
	//Hide "WP Security → Miscellaneous".
	remove_submenu_page('aiowpsec', 'aiowpsec_misc');
}

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

Where do I put this code?