Uses
Uses | Description |
---|---|
wp-includes/formatting.php: is_email() | Verifies that an email is valid. |
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
This function has been deprecated. Use is_email() instead.
Deprecated functionality to validate an email address.
(string) (Required) Email address to verify.
(bool) (Optional) Deprecated.
Default value: true
(string|false) Valid email address on success, false on failure.
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 ); }
Version | Description |
---|---|
3.0.0 | Use is_email() |
MU (3.0.0) | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/validate_email