How to Hide the "HubSpot" Admin Menu

function plt_hide_leadin_menus() {
	//Hide the "HubSpot" menu.
	remove_menu_page('leadin');
}

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

Where do I put this code?