An event that is triggered when a category is updated.
The onCategoryUpdated()
event handler runs when a category is updated. The received CategoryUpdated
object contains information about the category that was updated.
Note: Backend events don't work when previewing your site.
Information about the category that was updated.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a draft post is created.
function wixBlog_onDraftCreated(event: DraftCreated): void;
export function wixBlog_onDraftCreated(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a draft post is deleted.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a draft post is updated.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.