Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



is_email ›

Seit2.8.0
Veraltetn/v
apply_filters( 'is_email', false, $email, 'email_too_short' )
Parameter: (3)
  • (bool) $is_email Whether the email address has passed the is_email() checks. Default false.
    Erforderlich: Ja
  • (string) $email The email address being checked.
    Erforderlich: Ja
  • (string) $context Context under which the email was tested.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether an email address is valid.

This filter is evaluated under several different contexts, such as 'email_too_short', 'email_no_at', 'local_invalid_chars', 'domain_period_sequence', 'domain_period_limits', 'domain_no_periods', 'sub_hyphen_limits', 'sub_invalid_chars', or no specific context.





Quellcode

return apply_filters( 'is_email', false, $email, 'email_too_short' );