Tori Spelling's husband, Dean McDermott, is offering marital and relationship advice to famed chef Bobby Flay.

According to the New York Daily News, amid widespread rumors of infidelity on his part, Flay announced this week he has filed for divorce from his "Law & Order"-starring wife, Stephanie March.

The infidelity part certainly seems like a subject McDermott can relate to it. He has previously admitted to cheating on his wife, and the two once starred in the reality show "True Tori," which publicly highlighted all their marital woes.

"He needs to make some get out of jail meals for her," McDermott told the newspaper while promoting his new "The Gourmet Dad" cookbook. "I would hope that they would be able to work things out because I was fortunate enough to be on that side of things working out."

Flay and March have been married for at least a decade, but in recent times rumors of his involvement with "Mad Men" actress January Jones have picked up steam. The couple reportedly formally separated almost a month ago.

The Daily News previously reported March once confronted her soon-to-be-ex about all the rumors.

"I know Stephanie basically asked him after January Jones, 'Did you f--- her?'" a source told the newspaper, adding that Flay staunchly denied all the allegations.

Just the same, the source described the one-time happy couple's union as not being "typical," adding that all Flay's frequent traveling has additionally put strains on their marriage.

"Bobby's now 48 or 49 and not many chefs of his stature actually go in and cook every night, and he really has been," the source added. "You go into (his new restaurant) Gato and he's there cooking. That's a big, difficult commitment."

The couple does not have any children together.