An event that is triggered when a site member is created.
The onMemberCreated()
event handler runs when a site member is created.
The received CreatedMemberEvent
object contains information about the site member that was created.
The site owner can configure the site to automatically approve members or require manual approval.
A member who has been approved either automatically or manually has a status of APPROVED
. A created member waiting for approval has a status
of PENDING
. A PENDING
member cannot log into the site.
Note: Backend events don’t work when previewing your site.
Information about the member that was created.