How to Hide the "TSV Options" Admin Menu

function plt_hide_theme_structure_visualiser_menus() {
	//Hide the "Settings → TSV Options" menu.
	remove_submenu_page('options-general.php', 'theme-structure-visualiser/admin/class-admin-settings.php');
}

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

Where do I put this code?