Testing Suspended

Testing of this plugin has been temporarily suspended due to an error. It will automatically resume when a new plugin version is released.

How to Hide GEO Traffic Control and Redirect Admin Menus

function plt_hide_geo_traffic_control_and_redirect_menus() {
	//Hide "GEO Protection".
	remove_menu_page('plgsggeo_protection');
	//Hide "GEO Protection → Front-end protection".
	remove_submenu_page('plgsggeo_protection', 'plgsggeo_protection');
	//Hide "GEO Protection → Backend protection".
	remove_submenu_page('plgsggeo_protection', 'plgsggeo_protection&tab=1');
	//Hide "GEO Protection → GEO Redirect".
	remove_submenu_page('plgsggeo_protection', 'plgsggeo_protection&tab=5');
	//Hide "GEO Protection → Logs".
	remove_submenu_page('plgsggeo_protection', 'plgsggeo_protection&tab=2');
	//Hide "GEO Protection → Customize & Style".
	remove_submenu_page('plgsggeo_protection', 'plgsggeo_protection&tab=3');
	//Hide "GEO Protection → Settings & Support".
	remove_submenu_page('plgsggeo_protection', 'plgsggeo_protection&tab=4');
	//Hide "GEO Protection → Security Extensions".
	remove_submenu_page('plgsggeo_protection', 'plgsggeo_extensions_page');
	//Hide "GEO Protection → Get Full Version".
	remove_submenu_page('plgsggeo_protection', 'register_plgsggeo_upgrade_redirect');
}

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

Where do I put this code?