Tips on Customizing Shield Security – Smart Bot Blocking & Intrusion Prevention Security

How to Hide Shield Security Admin Menus

function plt_hide_wp_simple_firewall_menus() {
	//Hide "Shield Security".
	remove_menu_page('icwp-wpsf-plugin');
	//Hide "Shield Security → Security Dashboard".
	remove_submenu_page('icwp-wpsf-plugin', 'icwp-wpsf-dashboard');
	//Hide "Shield Security → Security Zones".
	remove_submenu_page('icwp-wpsf-plugin', 'icwp-wpsf-zones');
	//Hide "Shield Security → IP Manager".
	remove_submenu_page('icwp-wpsf-plugin', 'icwp-wpsf-ips');
	//Hide "Shield Security → Scans".
	remove_submenu_page('icwp-wpsf-plugin', 'icwp-wpsf-scans');
	//Hide "Shield Security → Activity".
	remove_submenu_page('icwp-wpsf-plugin', 'icwp-wpsf-activity');
	//Hide "Shield Security → Traffic".
	remove_submenu_page('icwp-wpsf-plugin', 'icwp-wpsf-traffic');
	//Hide "Shield Security → Custom Rules".
	remove_submenu_page('icwp-wpsf-plugin', 'icwp-wpsf-rules');
	//Hide "Shield Security → Reports".
	remove_submenu_page('icwp-wpsf-plugin', 'icwp-wpsf-reports');
	//Hide "Shield Security → ShieldPRO".
	remove_submenu_page('icwp-wpsf-plugin', 'icwp-wpsf-license');
}

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

Where do I put this code?

How to Hide the "Shield Security: Overview" Dashboard Widget

function plt_hide_wp_simple_firewall_dashboard_widgets() {
	$screen = get_current_screen();
	if ( !$screen ) {
		return;
	}

	//Remove the "Shield Security: Overview" widget.
	remove_meta_box('icwp-wpsf-dashboard_widget', 'dashboard', 'normal');
}

add_action('wp_dashboard_setup', 'plt_hide_wp_simple_firewall_dashboard_widgets', 20);