On the episode, scheduled to air later this year, Hanks will be Dave’s (Zachary Knighton) new celebrity friend.
Hanks, the son of Oscar winner Tom Hanks, has been seen on Broadway in Moises Kaufman's 33 Variations. His film and television credits include “Orange County,” “The House Bunny,” “Dexter,” “Mad Men” and “The God Guys,” among others.
"Happy Endings" airs Wednesday nights at 9:30 PM ET on ABC.