onMemberReportCreated( )


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 member is reported.

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

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

JavaScript
import { memberReport } from "@wix/members"; memberReport.onMemberReportCreated((event) => { // handle your event here });
Did this help?