How to Hide Chaty Admin Menus

function plt_hide_chaty_menus() {
	//Hide "Chaty".
	remove_menu_page('chaty-app');
	//Hide "Chaty → Dashboard".
	remove_submenu_page('chaty-app', 'chaty-app');
	//Hide "Chaty → + Create New Widget".
	remove_submenu_page('chaty-app', 'chaty-upgrade');
	//Hide "Chaty → Chatway Live Chat".
	remove_submenu_page('chaty-app', 'chaty-live-chat');
	//Hide "Chaty → Integrations".
	remove_submenu_page('chaty-app', 'chaty-integration');
	//Hide "Chaty → Widget Analytics".
	remove_submenu_page('chaty-app', 'widget-analytics');
	//Hide "Chaty → Contact form leads".
	remove_submenu_page('chaty-app', 'chaty-contact-form-feed');
	//Hide "Chaty → Recommended Plugins".
	remove_submenu_page('chaty-app', 'recommended-chaty-plugins');
	//Hide "Chaty → Upgrade to Pro".
	remove_submenu_page('chaty-app', 'chaty-app-upgrade');
}

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

Where do I put this code?