Harvard’s info is soon to be outdated. Beginning with next year’s application cycle, no credit will be given for AP (which currently is only given if the student accepts advanced standing), although the scores can still by used to place out of some intro courses and to fulfill the foreign language requirement.
https://oue.fas.harvard.edu/advanced-standing