According to fictiondb:
She was his fairy-tale princess and he desired their child, so he'll wed her!
For teacher Erin Lavelle, the millionaire Peter Ramsey was akin to a fairy-tale prince. However, their romance was short-lived, lasting only two days. Peter believed Erin was exceptional until he exposed her secret.
Fast forward to seven months later and Erin is expecting a child. The only way to guarantee the safety of his unborn child is through wedlock. Erin's knight in shining armor has reappeared, and this time around, he demands that she become his wife!