Deprecated functionality to validate an email address.
Description
See also
Parameters
$email
stringrequired- Email address to verify.
$check_domain
booloptional- Deprecated.
Default:
true
Source
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. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.