Jenny McCarthy thought she had "hung up my bikini" when Kim Kardashian’s SKIMS brand came calling.

The "Masked Singer" judge teamed up with fellow former Playboy model Carmen Electra earlier this year for the company’s swimwear campaign.

The sexy photos wowed fans and left one person on the floor — her husband, Donnie Wahlberg.

"Donnie fainted the first time he saw my SKIMS campaign," McCarthy told Fox News Digital. "He fainted when I showed that because I thought I’d hung up my bikini. I thought I was done with all that stuff.

Splitscreen of Jenny McCarthy in dress and in a bikini

Jenny McCarthy told Fox News Digital she thought she had "hung up my bikini" before appearing in a SKIMS swimsuit ad this year that made her husband, Donnie Wahlberg, faint. (Getty/SKIMS)

CARMEN ELECTRA REVEALS TOP ONLYFANS REQUEST, 'WILD OBSESSION' FROM FOLLOWERS

"I was scared we were going to look like two grandmas trying to be 20. But, instead, it was kind of a nice tribute to the good old Maxim [and] FHM [magazine] days. And it was fun."

Carmen Electra wears nude bikini with Jenny McCarthy for Kim Kardashian's SKIMS brand

Carmen Electra and Jenny McCarthy reunited for a SKIMS swimwear campaign. (SKIMS)

McCarthy had fun with her friend but admitted she preferred a different risqué photoshoot she did with Wahlberg around Christmas last year for her beauty brand, Formless Beauty.

When asked which photo shoot she preferred, the SKIMS shoot or the nude photo she took with Wahlberg for her beauty brand, McCarthy said, "Oh, my gosh. I mean, obviously the shoot where Donnie is naked with me.

Jenny McCarthy, Donnie Wahlberg

Jenny McCarthy and Donnie Wahlberg posed nude for Formless Beauty's holiday campaign. (Formless Beauty)

"As much as I love Carmen, I didn't get hot and heavy for her though. But in the Formless campaign, we had some fun with that, needless to say."

jenny mccarthy donnie wahlberg

Jenny McCarthy said she preferred posing with her husband, Donnie Walhberg, for a risqué photoshoot. ( Jeff Haynes/NBAE via Getty Images)

LIKE WHAT YOU’RE READING? CLICK HERE FOR MORE ENTERTAINMENT NEWS

The 50-year-old "Singled Out" host and New Kid on the Block star began dating in July 2013 and tied the knot in August 2014. The couple renew their wedding vows every year on their anniversary.

Wahlberg has two sons from his previous marriage, and McCarthy has one son from an earlier marriage, Evan. 

WATCH: Jenny McCarthy made husband Donnie Wahlberg faint with sexy swimsuit photos

Surprising each other is a staple of the couple’s lasting relationship.

For Valentine’s Day this year, McCarthy covered the living room of the apartment Wahlberg stays in while filming "Blue Bloods" in decorations and balloons for the holiday.

Donnie Wahlberg and Jenny McCarthy pose together

Jenny McCarthy and Donnie Wahlberg married in 2014 and renew their vows every year. (Noam Galai/Getty Images)

JENNY MCCARTHY, DONNIE WAHLBERG DISH ON THEIR THANKSGIVING TRADITIONS AND LIFE IN THE LIMELIGHT

"She got me again!" the "Band of Brothers" alum wrote on the clip at the time, adding "Love you my forever Valentine" and tagging McCarthy.

Wahlberg surprised her in return, pretending they were going to be on a Zoom date before showing up in person.

The "Blue Bloods" star pulled off an even bigger surprise in 2021 when he appeared on "The Masked Singer." 

He wore the Cluedle Doo costume and made it to the semifinals before shocking McCarthy during the reveal.

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

When he removed the mask, McCarthy backed away from the desk and abruptly fell to the floor before getting up and declaring, "I’m shaking!" 

WATCH: Jenny McCarthy shares her most surprising 'Masked Singer' reveal

"I had no idea my husband was going to be behind the mask because he was filming ‘Blue Bloods’ at the same time," McCarthy recalled. "So, when he took off the mask, you could see my face kind of going like [imitates shocked face]. Like, I was so shocked that I couldn't see the reality that was in front of me. And then I fell to the floor because I was so shocked that it was him."

And she swears up and down she had "no idea, because he was supposed to be in New York. So he tricked me."

jenny mccarthy donnie wahlberg

Jenny McCarthy told Fox News Digital having her husband Donnie Wahlberg revealed as a contestant has been the biggest surprise so far. (FOX via Getty Images)

"The Masked Singer" is entering its 10th season tonight after a special kickoff episode aired earlier this month.

"You know, we always figure out a way to level it up each season," McCarthy said. "And this time, again, we did it." 

'THE MASKED SINGER' ALUMS OFFER ADVICE TO UPCOMING PERFORMERS: 'YOU'LL ACTUALLY SHOCK YOURSELF'

She explained that some episodes will bring back fan-favorite contestants, like Jewel and Adrienne Bailon, for performances, and some theme nights.

"We started incorporating them, like, in season 9, but we really went for it in season 10," McCarthy said. 

Robin Thicke and Jenny McCarthy behind the judges' table on The Masked Singer

Jenny McCarthy said "The Masked Singer" is able to "level it up each season." (Michael Becker/FOX. ©2023 FOX Media LLC.)

McCarthy added there will be an Elton John night and a Harry Potter night, "(for) which I dress up as Professor Dumbledore. So, that is a sight to be seen, I will say." 

For the judge, "The Masked Singer" is more than just a fun singing competition, but a way to bring people together.

CLICK HERE TO GET THE FOX NEWS APP

"You know, so many families come up to me and say, ‘I love that my kids put down their phone. I love that my kids stop playing video games to sit down and watch a TV show with me,’ which does not happen anymore, except for the ‘Masked Singer,’" McCarthy said. 

"You've got mom, dad, the kids, the grandkids — all of them being able to watch one show together and smile. If we can continue that, I feel good about it."

"The Masked Singer" airs Wednesday nights on FOX.