AP credits at Haverford?

I’ve been reading a bit of info on the website, but I’m still confused as to how credits work with ap classes? Do you get a max of 4 credits or not? How do they determine what classes you are getting credit for? Thanks for any help

http://blogs.haverford.edu/freshman-advising/files/2013/07/AP-IB-Credit-Summary.pdf