onCategoryDeleted( )


An event that is triggered when a category is deleted.

The onCategoryDeleted() event handler runs when a category is deleted. The received CategoryDeleted object contains event metadata.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventCategoryDeleted

Information about the category that was deleted.

Errors

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

Did this help?