Tips on Customizing Meteor Slides

How to Hide Meteor Slides Admin Menus

function plt_hide_meteor_slides_menus() {
	//Hide "Slides".
	remove_menu_page('edit.php?post_type=slide');
	//Hide "Slides → Slides".
	remove_submenu_page('edit.php?post_type=slide', 'edit.php?post_type=slide');
	//Hide "Slides → Add New Slide".
	remove_submenu_page('edit.php?post_type=slide', 'post-new.php?post_type=slide');
	//Hide "Slides → Slideshows".
	remove_submenu_page('edit.php?post_type=slide', 'edit-tags.php?taxonomy=slideshow&post_type=slide');
	//Hide "Slides → Settings".
	remove_submenu_page('edit.php?post_type=slide', 'slides_settings');
}

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

Where do I put this code?

How to Hide Meteor Slides Meta Boxes

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

	//Hide the "Slide Link" meta box.
	remove_meta_box('meteorslides-url-box', $screen->id, 'normal');
	//Hide the "Slide Image (940x200)" meta box.
	remove_meta_box('postimagediv', $screen->id, 'normal');
}

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