Tips on Customizing Content Aware Sidebars – Unlimited Widget Areas

How to Hide Content Aware Sidebars Admin Menus

function plt_hide_content_aware_sidebars_menus() {
	//Hide "Content Aware".
	remove_menu_page('wpcas');
	//Hide "Content Aware → All Sidebars".
	remove_submenu_page('wpcas', 'wpcas');
	//Hide "Content Aware → Add New".
	remove_submenu_page('wpcas', 'wpcas-edit');
	//Hide "Content Aware → Upgrade".
	remove_submenu_page('wpcas', 'wpcas-pricing');
}

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

Where do I put this code?

How to Hide the "Sidebars - Quick Select" Meta Box

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

	//Hide the "Sidebars - Quick Select" meta box.
	remove_meta_box('cas-content-sidebars', $screen->id, 'side');
}

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