Tips on Customizing Cheshire Cat Chatbot

How to Hide Cheshire Cat Chatbot Admin Menus

function plt_hide_cheshire_cat_chatbot_menus() {
	//Hide "Cheshire Cat".
	remove_menu_page('cheshire-cat');
	//Hide "Cheshire Cat → Overview & Usage".
	remove_submenu_page('cheshire-cat', 'cheshire-cat');
	//Hide "Cheshire Cat → Configuration".
	remove_submenu_page('cheshire-cat', 'cheshire-cat-configuration');
	//Hide "Cheshire Cat → Style".
	remove_submenu_page('cheshire-cat', 'cheshire-cat-style');
	//Hide "Cheshire Cat → Playground".
	remove_submenu_page('cheshire-cat', 'cheshire-cat-playground');
	//Hide "Cheshire Cat → Declarative Memory".
	remove_submenu_page('cheshire-cat', 'cheshire-cat-declarative-memory-sync');
	//Hide "Cheshire Cat → Meowww".
	remove_submenu_page('cheshire-cat', 'cheshire-cat-meowww');
}

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

Where do I put this code?

How to Hide the "Cheshire Cat Predefined Questions" Meta Box

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

	//Hide the "Cheshire Cat Predefined Questions" meta box.
	remove_meta_box('cheshire_predefined_responses_meta_box', $screen->id, 'normal');
}

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