Maitland Ward on "The Bold and the Beautiful" in the '90s.

From the Disney Channel to Deeper.com.

Former “Boy Meets World” star Maitland Ward left family-friendly entertainment behind to launch a career in the adult film industry on the aforementioned porn website.

The 42-year-old redhead, who played Rachel McGuire on the wholesome ABC/Disney Channel sitcom, switched gears to star in her first full-length skin flick, “Drive.”

“I never knew there was anything in adults or porn or whatever that was this well done,” Ward told In Touch Weekly about her drastic career shift. “I read the script, and I was like, ‘This is really, really well-written.’ This has so many themes in this and just my character is so different than anything I have portrayed before.”

She announced her “Drive” role on Instagram, to the shock and awe of her fanbase, generating responses ranging from “is she a porn star?” to “from ‘Boy Meets World’ to ‘Boy Meats World.'” One fan even joked that Ward should film a scene with her former sitcom roomie Topanga (Danielle Fishel).

The film, directed by veteran porn actress Kayden Kross, casts Ward as an “innocent” woman who’s starting to come out of her shell — an apparent microcosm of the former Disney star’s career trajectory.

Ward starred in the final two seasons of “Boy Meets World,” which premiered on ABC in 1993, and later aired in syndication on the Disney Channel from 2000 to 2007 and again in 2014.

She made her debut in 1998 as Rachel, the roommate and consummate “friend-zoner” of lead characters Eric Matthews (Will Friedle) and Jack Hunter (Matthew Lawrence).

Now she’s shed the sitcom shackles entirely.

“I was just floored when Kayden came to me. I was like, ‘Wow, this is the kind of stuff that I want to do,’” Ward told In Touch. “Because I think it can be more mainstream, where people can enjoy the script and enjoy what is going on and is like, ‘Wow, this is a really hot sexual situation.’”

And while Ward says, “I don’t think my fans have seen me like this before,” her salacious Instagram selfies over the past 10 years suggest that a career in adult entertainment has been a long time coming.

“It’s been an evolution,” Ward told In Touch. “It’s all been my authentic journey because everything that I have done along the way is something I wanted to explore and do. I just did it publicly for my fans, that is the exhibitionist style of me.”

Sure, she knows there will be haters — but Ward doesn’t “give a f – – k” what people think, because “I want to be who I am. I just think as I have matured, too. I am who I am.”

Ward also appeared in “Home Improvement,” “The Bold and the Beautiful,” “Rules of Engagement” and the 2004 Wayan Brothers comedy “White Chicks.”