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 "Traffic 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 "Top Referring URLs" widget.
	remove_meta_box('slim_p1_20', 'dashboard', 'normal');
	//Remove the "Audience Overview" widget.
	remove_meta_box('slim_p2_02', 'dashboard', 'normal');
	//Remove the "Top Browsers" 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 Referring Search Engines" widget.
	remove_meta_box('slim_p3_06', '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);

Where do I put this code?