Megan Fox and Brian Austin Green have been together for some time, but that was almost not the case if Kelly Ripa had anything to do with it.

At the time the couple met, Fox, who was 17 at the time, was starring on “Hope & Faith” with Ripa.

During a recent episode of “Live With Kelly And Ryan”, Green recalled the table read where he first met Fox.

RELATED: Brian Austin Green Talks ‘BH90210’, Admits Original Cast Was ‘Lucky Not To Have Social Media’

“It was Kelly and Ted McGinley [who played Fox’s father on the show], who, at the table read, was like, ‘She’s 17. So nobody touch her,’” Green said. “So I was like, ‘All right. Fair enough.’ I had no intention at that point of dating.”

“Meanwhile, she had a calendar with a big circle on her birthday, like, ‘This is the day I turn 18,’” Ripa teased.

The host then went on to speak about how the “Transformers” star was obviously into the “BH90210” actor.

RELATED: Brian Austin Green Admits He Did Hook Up With Tori Spelling During ‘Beverly Hills, 90210’ Days

“I could tell she was so into you,” Ripa said. “Listen, she has eyes. We all have eyes. We’re all into you. But she was so obviously smitten.” 

“Long story short, I’m glad you didn’t listen to me,” she added.

Green responded, “Thank you. So am I.”

The two reconnected once Fox turned 18. They have been married since 2018 and have three boys Noah, 6, Bodhi, 5, and Journey, 3.