Search.../

onPostMoved( )

Developer Preview

An existing post was moved to a different category.

Syntax

function onPostMoved(event: PostMoved): void

onPostMoved Parameters

NAME
TYPE
DESCRIPTION
event
Optional
PostMoved

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onPostMoved example

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