Search...
onPostReported( )
Developer Preview
An existing post was reported as inappropriate.
Syntax
function onPostReported(event: PostReported): void
onPostReported Parameters
NAME
TYPE
DESCRIPTION
event
Optional
PostReported
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
onPostReported example
Copy Code
12 export function wixForum_onPostReported(event) {3 const eventId = event.metadata.id4 const entityId = event.data.post._id;5 }67