onCategoryUpdated( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Notes:

Triggered when a category is updated.

Permissions
Manage Forums
Read Forums
Learn more about app permissions.
Method Declaration
Copy
function onCategoryUpdated(handler: function): void;
Method Parameters
handlerfunction

handler(event: CategoryUpdatedEnvelope): void | Promise<void>

JavaScript
import { categories } from "@wix/forum"; categories.onCategoryUpdated((event) => { // handle your event here });
Did this help?