A backend event that fires when a Policy is created.
The onPolicyCreated()
event handler runs when a Policy is created in your site. The received PolicyCreated
object contains information about the new policy.
Note: Backend events are not fired when previewing your site.
Information about the created policy and onPolicyCreated
event.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.