Search.../

onCategoryDeleted( )

Developer Preview

An existing category was removed.

Syntax

function onCategoryDeleted(event: CategoryDeleted): void

onCategoryDeleted Parameters

NAME
TYPE
DESCRIPTION
event
Optional
CategoryDeleted

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onCategoryDeleted example

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