WordPress at a glance
function is not described

validate_email() WP 3.0.0

Deprecated in 3.0.0. It is no longer supported and can be removed in future releases. Use is_email() instead.

Deprecated functionality to validate an email address.

  • See: is_email()

No Hooks.


String/true/false. Either false or the valid email address.


validate_email( $email, $check_domain );
$email(string) (required)
Email address to verify.
Default: true

Code of validate email: wp-includes/ms-deprecated.php WP 5.2.1

function validate_email( $email, $check_domain = true) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'is_email()' );
	return is_email( $email, $check_domain );