is_email
is_email ( $email, $deprecated = false )
Parameters:- (string) email Email address to verify.
- (bool) deprecated Deprecated.
Returns:- (string|false) Valid email address on success, false on failure.
Defined at: - Introduced in WordPress: 0.71
- Deprecated in WordPress: —
Description
Verifies that an email is valid.Does not grok i18n domains. Not RFC compliant.