How to Hide the "Streaming Companion For Mixer" Admin Menu

function plt_hide_streaming_companion_for_mixer_menus() {
	//Hide the "Settings → Streaming Companion For Mixer" menu.
	remove_submenu_page('options-general.php', 'bc-companion');
}

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

Where do I put this code?