validate_email

DeprecatedDeprecated

This function has been deprecated. Use is_email() instead.

SummerySummery

Deprecated functionality to validate an email address.

Syntax

validate_email( string $email, bool $check_domain = true )

ParametersParameters

$email

(string) (Required) Email address to verify.

$check_domain

(bool) (Optional) Deprecated.

Default value: true

ReturnReturn

(string|bool) Either false or the valid email address.

SourceSource

File: wp-includes/ms-deprecated.php


			

ChangelogChangelog

Changelog
Version Description
3.0.0 Use is_email()
MU (3.0.0) Introduced.

See alsoSee also

Scroll to Top