How to Hide the "OLE Export" Admin Menu

function plt_hide_open_linked_event_data_menus() {
	//Hide the "Settings → OLE Export" menu.
	remove_submenu_page('options-general.php', 'oleexport');
}

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

Where do I put this code?