How to Hide the "Trustprofile" Admin Menu

function plt_hide_trustprofile_menus() {
	//Hide the "Settings → Trustprofile" menu.
	remove_submenu_page('options-general.php', 'trustprofile');
}

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

Where do I put this code?