Search.../

onPostOpened( )

Developer Preview

An existing post was opened for further comments.

Syntax

function onPostOpened(event: PostOpened): void

onPostOpened Parameters

NAME
TYPE
DESCRIPTION
event
Optional
PostOpened

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onPostOpened example

Copy Code
1
2 export function wixForum_onPostOpened(event) {
3 const eventId = event.metadata.id
4 const entityId = event.data.post._id;
5 }
6
7