Pepperminty Wiki Module API

feature-user-preferences.php

Table of Contents

email_user_verify()  : bool
Sends a verification email to the specified user, assuming they need to verify their email address.

Functions

email_user_verify()

Sends a verification email to the specified user, assuming they need to verify their email address.

email_user_verify(string $username) : bool

If a user does not need to verify their email address, no verification email is sent and true is returned.

Parameters
$username : string

The name of the user to send the verification code to.

Return values
bool

Whether the verification code was sent successfully. If a user does not need to verify their email address, this returns true.

Search results