onPolicyCreated( )


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.

Method Declaration
Copy
Method Parameters
eventPolicyCreated

Information about the created policy and onPolicyCreated event.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?