Search...
onReviewCreated( )
Developer Preview
Triggered when a review is created.
Syntax
function wixReviews_onReviewCreated(event: ReviewCreated): void
onReviewCreated Parameters
NAME
TYPE
DESCRIPTION
event
Optional
ReviewCreated
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
onReviewCreated example
Copy Code
12 export function wixReviews_onReviewCreated(event) {3 const eventId = event.metadata.id4 const entityId = event.entity._id;5 }67