How to Hide the "QuadLayers News" Dashboard Widget

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

	//Remove the "QuadLayers News" widget.
	remove_meta_box('quadlayers-dashboard-overview', 'dashboard', 'normal');
}

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

Where do I put this code?