is_email_address_unsafe

Advertisement

Summery Summery

Checks an email address against a list of banned domains.

Syntax Syntax

is_email_address_unsafe( string $user_email )

Description Description

This function checks against the Banned Email Domains list at wp-admin/network/settings.php. The check is only run on self-registrations; user creation at wp-admin/network/users.php bypasses this check.

Parameters Parameters

$user_email

(string) (Required) The email provided by the user at registration.

Return Return

(bool) Returns true when the email address is banned.

Source Source

File: wp-includes/ms-functions.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.