How to Hide the "Configurazione Learning Objects" Admin Menu

function plt_hide_learning_objects_lms_menus() {
	//Hide the "Settings → Configurazione Learning Objects" menu.
	remove_submenu_page('options-general.php', 'wcloi_config_wclo_integration');
}

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

Where do I put this code?