Methods

Determines if the specified email is banned.

isEmailBanned(string $email, array $bannedEmails) : boolean

List of banned emails is simply an array of strings with * as wildcards.

Parameters

$email

string

$bannedEmails

arraynull

List of banned emails; if null, uses the default value

Returns

boolean

 Properties

 

Banned email cache for default banned emails option.

$_bannedEmailCache : array | null