Tips on Customizing Blog Grid & Post Grid – Blog Post Slider, Blog Post Carousel, Blog Post Ticker, Blog Post Masonry, Category Post Grid By News & Blog Designer Pack

How to Hide Blog Designer Pack Admin Menus

function plt_hide_blog_designer_pack_menus() {
	//Hide "Blog Designer Pack".
	remove_menu_page('bdpp-layouts');
	//Hide "Blog Designer Pack → All Layouts".
	remove_submenu_page('bdpp-layouts', 'bdpp-layouts');
	//Hide "Blog Designer Pack → Add New Layout".
	remove_submenu_page('bdpp-layouts', 'bdpp-layout');
	//Hide "Blog Designer Pack → Shortcode Builder".
	remove_submenu_page('bdpp-layouts', 'bdpp-shrt-builder');
	//Hide "Blog Designer Pack → Style Manager".
	remove_submenu_page('bdpp-layouts', 'bdpp-styles');
	//Hide "Blog Designer Pack → Settings".
	remove_submenu_page('bdpp-layouts', 'bdpp-settings');
	//Hide "Blog Designer Pack → Contact Us".
	remove_submenu_page('bdpp-layouts', 'bdpp-layouts-contact');
	//Hide "Blog Designer Pack → Upgrade".
	remove_submenu_page('bdpp-layouts', 'bdpp-layouts-pricing');
}

add_action('admin_menu', 'plt_hide_blog_designer_pack_menus', 1000000000);

Where do I put this code?

How to Hide Blog Designer Pack Meta Boxes

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

	//Hide the "Post Attributes" meta box.
	remove_meta_box('pageparentdiv', $screen->id, 'side');
	//Hide the "Blog Designer Pack - Settings" meta box.
	remove_meta_box('bdpp_post_sett', $screen->id, 'normal');
}

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