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.
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.
An event that is triggered when a post is created.
The onPostCreated()
event handler runs when a post is created. The PostCreated
object contains information about the post that was created.
Note: Backend events don't work when previewing your site.
Information about the post that was created.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
An event that is triggered when a post is deleted.
The onPostDeleted()
event handler runs when a post is deleted. The received PostDeleted
object contains event metadata.
Note: Backend events don't work when previewing your site.
Information about the post that was deleted.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
An event that is triggered when a post is liked.
The onPostLiked()
event handler runs when a post is liked. The received PostLikedEvent
object contains data about the liked post including the postId
, and the memberId
or anonymousVisitorId
.
Note: Backend events don't work when previewing your site.
Information about the post that was liked.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
An event that is triggered when a post is unliked.
The onPostUnliked()
event handler runs when a post is unliked. The received PostUnlikedEvent
object contains the postId
of the unliked post.
Note: Backend events don't work when previewing your site.
Information about the unliked post.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
An event that triggers when a post is updated.
The onPostUpdated()
event handler runs when a post is updated. The received PostUpdated
object contains information about the post that was updated.
Note: Backend events don't work when previewing your site.
Information about the post that was updated.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
An event that is triggered when a tag is created.
The onTagCreated()
event handler runs when a tag is created. The received TagCreated
object contains information about the tag that was created.
Note: Backend events don't work when previewing your site.
Information about the tag that was created.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
An event that is triggered when a tag is deleted.
The onTagDeleted()
event handler runs when a tag is deleted. The received TagDeleted
object contains event metadata.
Note: Backend events don't work when previewing your site.
Information about the post that was 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 tag is updated.
function wixBlog_onTagUpdated(event: TagUpdated): void;
export function wixBlog_onTagUpdated(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.