How to Hide the "Jetpack" Admin Menu

function plt_hide_jetpack_menus() {
	//Hide the "Jetpack" menu.
	remove_menu_page('jetpack');
}

add_action('admin_menu', 'plt_hide_jetpack_menus', 999);

Where do I put this code?