In 2010, Brian Austin Green played a big part in a wedding, marrying Megan Fox. In 2012, he will play a fun part in another wedding… on Happy Endings. EW has learned the 90210/Sarah Connor Chronicles vet will guest-star in the season finale of the ABC comedy as a charming dude who winds up attending the nuptials of Penny’s other gay best friend Derrick (Stephen Guarino). The tricky part: He’s not in the best physical condition. The juicy part: He’ll be flirting hard with Penny (Casey Wilson).

The episode, which also includes the return of Larry Wilmore as Brad’s boss, airs April 4. Season 2 guests include Colin Hanks, Michael McKean, Megan Mullally, James Wolk, Fred Savage, and Ed Begley, Jr.