How to Hide FlexTable Admin Menus

function plt_hide_sheets_to_wp_table_live_sync_menus() {
	//Hide "FlexTable".
	remove_menu_page('gswpts-dashboard');
	//Hide "FlexTable → Dashboard".
	remove_submenu_page('gswpts-dashboard', 'admin.php?page=gswpts-dashboard#/');
	//Hide "FlexTable → Manage Tab".
	remove_submenu_page('gswpts-dashboard', 'admin.php?page=gswpts-dashboard#/tabs');
	//Hide "FlexTable → Settings".
	remove_submenu_page('gswpts-dashboard', 'admin.php?page=gswpts-dashboard#/settings');
	//Hide "FlexTable → Get Started".
	remove_submenu_page('gswpts-dashboard', 'admin.php?page=gswpts-dashboard#/doc');
	//Hide "FlexTable → Recommended Plugins".
	remove_submenu_page('gswpts-dashboard', 'admin.php?page=gswpts-dashboard#/recommendation');
	//Hide "FlexTable → Upgrade Now".
	remove_submenu_page('gswpts-dashboard', 'https://go.wppool.dev/KfVZ');
}

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

Where do I put this code?