Search.../

onPostUnpinned( )

Developer Preview

An existing post was unpinned from the top of the post list.

Syntax

function onPostUnpinned(event: PostUnpinned): void

onPostUnpinned Parameters

NAME
TYPE
DESCRIPTION
event
Optional
PostUnpinned

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onPostUnpinned example

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