is_email() instead.
This function has been deprecated. Usevalidate_email( string $email, bool $check_domain = true )
Deprecated functionality to validate an email address.
Description
See also
Parameters
-
(string) (Required) Email address to verify.
- $check_domain
-
(bool) (Optional) Deprecated.
Default value: true
Return
(string|bool) Either false or the valid email address.
Source
File: wp-includes/ms-deprecated.php
function validate_email( $email, $check_domain = true) { _deprecated_function( __FUNCTION__, '3.0.0', 'is_email()' ); return is_email( $email, $check_domain ); }
Changelog
Version | Description |
---|---|
3.0.0 | Use is_email() |
MU (3.0.0) | Introduced. |