onPolicyDeleted( )


A backend event that fires when a Policy is deleted.

The onPolicyDeleted() event handler runs when a Policy is deleted in your site. The received PolicyDeleted object contains information about the deleted policy.

Note: Backend events are not fired when previewing your site.

Method Declaration
Copy
Method Parameters
eventPolicyDeleted

Information about the onPolicyDeleted event.

A backend event that occurs when a policy is deleted
JavaScript
Errors

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

Did this help?