onCategoryCreated( )


An event that is triggered when a category is created.

The onCategoryCreated() event handler runs when a category is created. The received CategoryCreated object contains information about the category that was created.

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

Method Declaration
Copy
Method Parameters
eventCategoryCreated

Information about the category that was created.

An event that occurs when a category is created
JavaScript
Errors

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

Did this help?