Search...
onPostClosed( )
Developer Preview
An existing post was closed for further comments.
Syntax
function onPostClosed(event: PostClosed): void
onPostClosed Parameters
NAME
TYPE
DESCRIPTION
event
Optional
PostClosed
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
onPostClosed example
Copy Code
12 export function wixForum_onPostClosed(event) {3 const eventId = event.metadata.id4 const entityId = event.data.post._id;5 }67