Tips on Customizing SlimStat Analytics

How to Hide SlimStat Analytics Admin Menus

function plt_hide_wp_slimstat_menus() {
	//Hide "Slimstat".
	remove_menu_page('slimview1');
	//Hide "Slimstat → Real-time".
	remove_submenu_page('slimview1', 'slimview1');
	//Hide "Slimstat → Overview".
	remove_submenu_page('slimview1', 'slimview2');
	//Hide "Slimstat → Audience".
	remove_submenu_page('slimview1', 'slimview3');
	//Hide "Slimstat → Site Analysis".
	remove_submenu_page('slimview1', 'slimview4');
	//Hide "Slimstat → Traffic Sources".
	remove_submenu_page('slimview1', 'slimview5');
	//Hide "Slimstat → Customize".
	remove_submenu_page('slimview1', 'slimlayout');
	//Hide "Slimstat → Settings".
	remove_submenu_page('slimview1', 'slimconfig');
	//Hide "Slimstat → Upgrade to Pro".
	remove_submenu_page('slimview1', 'slimpro');
}

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

Where do I put this code?

How to Hide SlimStat Analytics Dashboard Widgets

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

	//Remove the "Access Log" widget.
	remove_meta_box('slim_p7_02', 'dashboard', 'normal');
	//Remove the "Pageviews" widget.
	remove_meta_box('slim_p1_01', 'dashboard', 'normal');
	//Remove the "At a Glance" widget.
	remove_meta_box('slim_p1_03', 'dashboard', 'normal');
	//Remove the "Currently Online" widget.
	remove_meta_box('slim_p1_04', 'dashboard', 'normal');
	//Remove the "Top Web Pages" widget.
	remove_meta_box('slim_p1_08', 'dashboard', 'normal');
	//Remove the "Top Referring Domains" widget.
	remove_meta_box('slim_p1_10', 'dashboard', 'normal');
	//Remove the "Top Known Visitors" widget.
	remove_meta_box('slim_p1_11', 'dashboard', 'normal');
	//Remove the "Top Search Terms" widget.
	remove_meta_box('slim_p1_12', 'dashboard', 'normal');
	//Remove the "Top Countries" widget.
	remove_meta_box('slim_p1_13', 'dashboard', 'normal');
	//Remove the "Users Currently Online" widget.
	remove_meta_box('slim_p1_18', 'dashboard', 'normal');
	//Remove the "Audience Overview" widget.
	remove_meta_box('slim_p2_02', 'dashboard', 'normal');
	//Remove the "Top User Agents" widget.
	remove_meta_box('slim_p2_04', 'dashboard', 'normal');
	//Remove the "Top Screen Resolutions" widget.
	remove_meta_box('slim_p2_07', 'dashboard', 'normal');
	//Remove the "Top Users" widget.
	remove_meta_box('slim_p2_21', 'dashboard', 'normal');
	//Remove the "Top Categories" widget.
	remove_meta_box('slim_p4_07', 'dashboard', 'normal');
	//Remove the "Top Authors" widget.
	remove_meta_box('slim_p4_18', 'dashboard', 'normal');
	//Remove the "Top Outbound Links" widget.
	remove_meta_box('slim_p4_21', 'dashboard', 'normal');
	//Remove the "Top Exit Pages" widget.
	remove_meta_box('slim_p4_24', 'dashboard', 'normal');
}

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