Tips on Customizing Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection

How to Hide StopBadBots Admin Menus

function plt_hide_stopbadbots_menus() {
	//Hide "Installing New Plugin".
	remove_menu_page('bill_pre-checkup');

	//Hide "Stop Bad Bots".
	remove_menu_page('stop_bad_bots_plugin');
	//Hide "Stop Bad Bots → Stop Bad Bots".
	remove_submenu_page('stop_bad_bots_plugin', 'stop_bad_bots_plugin');
	//Hide "Stop Bad Bots → Settings".
	remove_submenu_page('stop_bad_bots_plugin', 'settings-stop-bad-bots');
	//Hide "Stop Bad Bots → Bad Bots Table".
	remove_submenu_page('stop_bad_bots_plugin', 'sbb_my-custom-submenu-page');
	//Hide "Stop Bad Bots → Bad IPs Table".
	remove_submenu_page('stop_bad_bots_plugin', 'sbb_my-custom-submenu-page2');
	//Hide "Stop Bad Bots → Bad Referer Table".
	remove_submenu_page('stop_bad_bots_plugin', 'sbb_my-custom-submenu-page3');
	//Hide "Stop Bad Bots → Add Bad Bot to Table".
	remove_submenu_page('stop_bad_bots_plugin', 'Add New Bad Bot');
	//Hide "Stop Bad Bots → Add Bad IP to Table".
	remove_submenu_page('stop_bad_bots_plugin', 'Add New Bad IP');
	//Hide "Stop Bad Bots → Add Bad Referer to Table".
	remove_submenu_page('stop_bad_bots_plugin', 'Add New Bad Referer');
	//Hide "Stop Bad Bots → Visits Log".
	remove_submenu_page('stop_bad_bots_plugin', 'stopbadbots_my-custom-submenu-page');
	//Hide "Stop Bad Bots → Visits Analytics".
	remove_submenu_page('stop_bad_bots_plugin', 'stopbadbots_my-custom-submenu-page-stats');
	//Hide "Stop Bad Bots → Go Pro".
	remove_submenu_page('stop_bad_bots_plugin', 'sbb_my-custom-submenu-page9');
	//Hide "Stop Bad Bots → More Tools Same Author".
	remove_submenu_page('stop_bad_bots_plugin', 'stopbadbots_new_more_plugins');
}

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

Where do I put this code?

How to Hide the "Stop Bad Bots Activities" Dashboard Widget

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

	//Remove the "Stop Bad Bots Activities" widget.
	remove_meta_box('stopbadbots-dashboard', 'dashboard', 'normal');
}

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