Tips on Customizing Service Box Showcase

How to Hide Service Box Admin Menus

function plt_hide_service_box_menus() {
	//Hide "Service Box".
	remove_menu_page('edit.php?post_type=wpsm_servicebox_r');
	//Hide "Service Box → All Service Box".
	remove_submenu_page('edit.php?post_type=wpsm_servicebox_r', 'edit.php?post_type=wpsm_servicebox_r');
	//Hide "Service Box → Add New Service Box".
	remove_submenu_page('edit.php?post_type=wpsm_servicebox_r', 'post-new.php?post_type=wpsm_servicebox_r');
	//Hide "Service Box → Free Vs Pro".
	remove_submenu_page('edit.php?post_type=wpsm_servicebox_r', 'wpsm_servicebox_fvp_page');
	//Hide "Service Box → More Free Plugins".
	remove_submenu_page('edit.php?post_type=wpsm_servicebox_r', 'wpsm_servicebox_recom_page');
}

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

Where do I put this code?

How to Hide Service Box Meta Boxes

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

	//Hide the "Select Design" meta box.
	remove_meta_box('add_wpsm_service_b_design', $screen->id, 'normal');
	//Hide the "Add Service Box Panel" meta box.
	remove_meta_box('add_wpsm_service_b', $screen->id, 'normal');
	//Hide the "Service Box Shortcode" meta box.
	remove_meta_box('wpsm_service_b_shortcode', $screen->id, 'normal');
	//Hide the "Support & Docs" meta box.
	remove_meta_box('wpsm_service_help', $screen->id, 'normal');
	//Hide the "More Pro Plugin From Wpshopmart" meta box.
	remove_meta_box('wpsm_service_more_pro', $screen->id, 'normal');
	//Hide the "Rate Us If You Like This Plugin" meta box.
	remove_meta_box('wpsm_service_b_rateus', $screen->id, 'side');
	//Hide the "Service Box Settings" meta box.
	remove_meta_box('wpsm_service_b_setting', $screen->id, 'side');
	//Hide the "Pro Version Features" meta box.
	remove_meta_box('wpsm_service_b_features', $screen->id, 'side');
}

add_action('add_meta_boxes', 'plt_hide_service_box_metaboxes', 20);