Tips on Customizing WP Google Review Slider

How to Hide WP Google Review Slider Admin Menus

function plt_hide_wp_google_places_review_slider_menus() {
	//Hide "WP Google Reviews".
	remove_menu_page('wp_google-welcome');
	//Hide "WP Google Reviews → Welcome".
	remove_submenu_page('wp_google-welcome', 'wp_google-welcome');
	//Hide "WP Google Reviews → Get Google Reviews".
	remove_submenu_page('wp_google-welcome', 'wp_google-googlesettings');
	//Hide "WP Google Reviews → Reviews List".
	remove_submenu_page('wp_google-welcome', 'wp_google-reviews');
	//Hide "WP Google Reviews → Templates".
	remove_submenu_page('wp_google-welcome', 'wp_google-templates_posts');
	//Hide "WP Google Reviews → Go Pro!".
	remove_submenu_page('wp_google-welcome', 'https://ljapps.com/wp-review-slider-pro/');
}

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

Where do I put this code?

How to Hide the "WP Google Review Slider Recent Reviews" Dashboard Widget

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

	//Remove the "WP Google Review Slider Recent Reviews" widget.
	remove_meta_box('googlerevsid', 'dashboard', 'side');
}

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