Tips on Customizing Slide Anything – Responsive Content / HTML Slider and Carousel

How to Hide Slide Anything - Responsive Content / HTML Slider and Carousel Admin Menus

function plt_hide_slide_anything_menus() {
	//Hide the "SA Sliders" menu.
	remove_menu_page('edit.php?post_type=sa_slider');
	//Hide the "SA Sliders → SA Sliders" menu.
	remove_submenu_page('edit.php?post_type=sa_slider', 'edit.php?post_type=sa_slider');
	//Hide the "SA Sliders → Add New Slider" menu.
	remove_submenu_page('edit.php?post_type=sa_slider', 'post-new.php?post_type=sa_slider');
}

add_action('admin_menu', 'plt_hide_slide_anything_menus', 15);

Where do I put this code?

How to Hide Slide Anything - Responsive Content / HTML Slider and Carousel Meta Boxes

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

	//Hide the "Slider Settings" meta box.
	remove_meta_box('cpt_slider_settings', $screen->id, 'normal');
	//Hide the "Slides" meta box.
	remove_meta_box('cpt_slider_slides', $screen->id, 'normal');
	//Hide the "Shortcode / Preview" meta box.
	remove_meta_box('cpt_slider_shortcode', $screen->id, 'side');
	//Hide the "Items Displayed" meta box.
	remove_meta_box('cpt_slider_items', $screen->id, 'side');
	//Hide the "Slider Style" meta box.
	remove_meta_box('cpt_slider_style', $screen->id, 'side');
	//Hide the "Thumbnail Pagination" meta box.
	remove_meta_box('cpt_slider_thumbs', $screen->id, 'side');
}

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