Uma área de pesquisa sobre o WordPress para devs e autores do tema



validate_email ›

Desde3.0.0
Obsoleto3.0.0
validate_email ( $email, $check_domain = true )
Parâmetros: (2)
  • (string) $email Email address to verify.
    Required: Yes
  • (bool) $check_domain Deprecated.
    Required: No
    Padrão: true
Ver:
Retorna:
  • (string|bool) Either false or the valid email address.
Definido em:
Codex:
Log de mudanças:
  • MU

Deprecated functionality to validate an email address.



Fonte

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