wpseek.com
A WordPress-centric search engine for devs and theme authors



validate_email › WordPress Function

Since
Deprecated3.0.0
validate_email ( $email, $check_domain = true )
Parameters: (2)
  • (string) $email Email address to verify.
    Required: Yes
  • (bool) $check_domain Deprecated.
    Required: No
    Default: true
See:
Returns:
  • (string|false) Valid email address on success, false on failure.
Defined at:
Codex:
Change Log:
  • MU

Deprecated functionality to validate an email address.



Source

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