Tips on Customizing Sunshine Photo Cart

How to Hide Sunshine Photo Cart Admin Menus

function plt_hide_sunshine_photo_cart_menus() {
	//Hide "Sunshine".
	remove_menu_page('sunshine_admin');
	//Hide "Sunshine → Dashboard".
	remove_submenu_page('sunshine_admin', 'sunshine_admin');
	//Hide "Sunshine → Settings".
	remove_submenu_page('sunshine_admin', 'admin.php?page=sunshine');
	//Hide "Sunshine → Reports".
	remove_submenu_page('sunshine_admin', 'sunshine_reports');
	//Hide "Sunshine → Add-Ons or Go Pro!".
	remove_submenu_page('sunshine_admin', 'sunshine_addons');
	//Hide "Sunshine → Get Help".
	remove_submenu_page('sunshine_admin', 'sunshine_help');
	//Hide "Sunshine → System Info".
	remove_submenu_page('sunshine_admin', 'sunshine_system_info');

	//Hide "Galleries".
	remove_menu_page('edit.php?post_type=sunshine-gallery');
	//Hide "Galleries → All Galleries".
	remove_submenu_page('edit.php?post_type=sunshine-gallery', 'edit.php?post_type=sunshine-gallery');
	//Hide "Galleries → Add New".
	remove_submenu_page('edit.php?post_type=sunshine-gallery', 'post-new.php?post_type=sunshine-gallery');

	//Hide "Products".
	remove_menu_page('edit.php?post_type=sunshine-product');
	//Hide "Products → All Products".
	remove_submenu_page('edit.php?post_type=sunshine-product', 'edit.php?post_type=sunshine-product');
	//Hide "Products → Add Product".
	remove_submenu_page('edit.php?post_type=sunshine-product', 'post-new.php?post_type=sunshine-product');
	//Hide "Products → Product Categories".
	remove_submenu_page('edit.php?post_type=sunshine-product', 'edit-tags.php?taxonomy=sunshine-product-category&post_type=sunshine-product');
	//Hide "Products → Bulk add products".
	remove_submenu_page('edit.php?post_type=sunshine-product', 'sunshine_bulk_add_products');

	//Hide "Orders".
	remove_menu_page('edit.php?post_type=sunshine-order');
	//Hide "Orders → All Orders".
	remove_submenu_page('edit.php?post_type=sunshine-order', 'edit.php?post_type=sunshine-order');
	//Hide "Orders → Order Statuses".
	remove_submenu_page('edit.php?post_type=sunshine-order', 'edit-tags.php?taxonomy=sunshine-order-status&post_type=sunshine-order');
}

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

Where do I put this code?

How to Hide Sunshine Photo Cart Meta Boxes

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

	//Hide the "Product Info" meta box.
	remove_meta_box('sunshine_products', $screen->id, 'advanced');
	//Hide the "Add Order" meta box.
	remove_meta_box('sunshine_order_data', $screen->id, 'normal');
}

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

How to Hide the "Sunshine Photo Cart Overview" Dashboard Widget

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

	//Remove the "Sunshine Photo Cart Overview" widget.
	remove_meta_box('dashboard_widget', 'dashboard', 'normal');
}

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