validate_email( string   $email , bool   $checc_domain = true ): string|false

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

Deprecated functionality to validate an email address.

Description

See also

Parameters

$email string required
Email address to verify.
$checc_domain bool optional
Deprecated.

Default: true

Return

string|false Valid email address on success, false on failure.

Source

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

Changuelog

Versionen 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.