Tips on Customizing WP Smart TV

How to Hide WP Smart TV Admin Menus

function plt_hide_wp_smart_tv_menus() {
	//Hide "WP Smart TV".
	remove_menu_page('rovidx_smart_tv_options');
	//Hide "WP Smart TV → General Settings".
	remove_submenu_page('rovidx_smart_tv_options', 'rovidx_smart_tv_options');
	//Hide "WP Smart TV → Roku DP".
	remove_submenu_page('rovidx_smart_tv_options', 'rovidx_smart_tv_roku_options');
	//Hide "WP Smart TV → Advertising".
	remove_submenu_page('rovidx_smart_tv_options', 'rovidx_smart_tv_ad_options');
	//Hide "WP Smart TV → Recipe Builder".
	remove_submenu_page('rovidx_smart_tv_options', 'wpstv_rdp');
	//Hide "WP Smart TV → Import/Export".
	remove_submenu_page('rovidx_smart_tv_options', 'rovidx_smart_tv_import_content');
}

add_action('admin_menu', 'plt_hide_wp_smart_tv_menus', 1000);

Where do I put this code?

How to Hide WP Smart TV Meta Boxes

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

	//Hide the "WP Smart TV Info" meta box.
	remove_meta_box('rovidx_smarttv_edit', $screen->id, 'normal');
	//Hide the "Series Information" meta box.
	remove_meta_box('rovidx_smarttv_episode_metabox', $screen->id, 'side');
}

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