is_email_address_unsafe


is_email_address_unsafe ( $user_email )

Parameters:
  • (string) user_email The email provided by the user at registration.
Returns:
  • (bool) True when the email address is banned, false otherwise.
Defined at:
Change Log:
  • M: U

Description

Checks an email address against a list of banned domains.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.

Related Functions

rest_is_ip_address, get_blogaddress_by_name, options_permalink_add_js, options_general_add_js, options_reading_add_js

Top Google Results

User discussions

wpseek mobile