Search...
onPostPinned( )
Developer Preview
An existing post was pinned to the top of the post list.
Syntax
function onPostPinned(event: PostPinned): void
onPostPinned Parameters
NAME
TYPE
DESCRIPTION
event
Optional
PostPinned
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
onPostPinned example
Copy Code
12 export function wixForum_onPostPinned(event) {3 const eventId = event.metadata.id4 const entityId = event.data.post._id;5 }67