The Great one fed up with Paulina?

Hockey great Wayne Gretzky was "at the end of his rope" when he finally ordered his 22-year-old daughter to remove provocative photos of herself from the internet, a family source told the New York Post.

"She’s been wild for years," said the source, pointing out that Paulina has hung with a shady crowd — including a convicted felon who was part of the Hollywood "Bling Ring" gang — since high school.

"Wayne has been very tolerant until now. His hair was standing on end when the photos came to his attention — especially the one where she’s sucking on a lollipop with her boobs front and center.

"He was like, ‘What next?’" said the source. "That’s when he finally sat her down and told her, ‘This is not just about you — it’s about the family name, so stop it.’"

Even wife Janet Jones, a former Playboy model, was incensed by the Twitter pics.

"Janet’s done some lingerie modeling herself back in the day, but even she thought Paulina’s photos were overboard," the source said.

The long-simmering lifestyle disagreement between father and daughter boiled over during Thanksgiving. Paulina even tweeted the news herself.

"Having a nice sit-down dinner with my dad about social media … haha," she wrote.

But she immediately replaced the suggestive photos with a family holiday picture.

A few days later, on Nov. 29, she tweeted, "Taking a break from Twitter for a bit. Happy Holidays!!! Xoxox"

Darren Blake, Gretzky’s manager, said, "Wayne won’t be issuing any comment."

It is well known in Gretzky’s Westlake Village, Calif., neighborhood that Paulina is very different than her conservative father.

In high school, Paulina moved in circles that included Alexis Neiers, 20, and Neiers’ adopted sister, Tess Taylor, 21.

Neiers pleaded no contest to burglary as one of a half-dozen members of the "Bling Ring," a crew of bored, rich teens who spent their free time breaking into the homes of such celebrities as Lindsay Lohan, Paris Hilton and Orlando Bloom.

The oldest Gretzky boys — Ty, 20, and Trevor, 18 — are both on athletic scholarships at top universities. Other son Tristan Wayne is 12, attends a Christian school and is already considered one of the best Little League baseball players in town. Daughter Emma Marie is nine.

But Paulina, the eldest, has refused to go to college and left home right after high school. Neither the singing nor modeling careers she hoped for have happened, so she continues to live on an allowance.

"Boys are easier to raise than girls," the Great One has allegedly told a friend.