Tips on Customizing Paid Videochat Turnkey Site – HTML5 PPV Live Webcams

How to Hide Paid Videochat Turnkey Site - HTML5 PPV Live Webcams Admin Menus

function plt_hide_ppv_live_webcams_menus() {
	//Hide "Webcams".
	remove_menu_page('edit.php?post_type=webcam');
	//Hide "Webcams → All Webcams".
	remove_submenu_page('edit.php?post_type=webcam', 'edit.php?post_type=webcam');
	//Hide "Webcams → Categories".
	remove_submenu_page('edit.php?post_type=webcam', 'edit-tags.php?taxonomy=category&post_type=webcam');
	//Hide "Webcams → Tags".
	remove_submenu_page('edit.php?post_type=webcam', 'edit-tags.php?taxonomy=post_tag&post_type=webcam');

	//Hide "Live Webcams".
	remove_menu_page('live-webcams');
	//Hide "Live Webcams → Settings".
	remove_submenu_page('live-webcams', 'live-webcams');
	//Hide "Live Webcams → User Approve".
	remove_submenu_page('live-webcams', 'live-webcams-records');
	//Hide "Live Webcams → Live Admin".
	remove_submenu_page('live-webcams', 'live-webcams-admin');
	//Hide "Live Webcams → Session Logs".
	remove_submenu_page('live-webcams', 'live-webcams-sessions');
	//Hide "Live Webcams → Studio Assign".
	remove_submenu_page('live-webcams', 'live-webcams-studio');
	//Hide "Live Webcams → Documentation".
	remove_submenu_page('live-webcams', 'live-webcams-doc');
}

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

Where do I put this code?

How to Hide the "Videochat Template for PPV Live Webcams" Meta Box

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

	//Hide the "Videochat Template for PPV Live Webcams" meta box.
	remove_meta_box('videowhisper_live_webcams', $screen->id, 'side');
}

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