How to Hide the "MailArchiver" Admin Menu

function plt_hide_mailarchiver_menus() {
	//Hide the "Settings → MailArchiver" menu.
	remove_submenu_page('options-general.php', 'mailarchiver-settings');
}

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

Where do I put this code?