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



is_email › WordPress Filter Hooks

Seit2.8.0
Veraltetn/v
apply_filters( 'is_email', false, $email, null )
Parameter: (3)
  • () is_email The email address if successfully passed the is_email() checks, false otherwise.
    Erforderlich: Ja
  • () email The email address being checked.
    Erforderlich: Ja
  • () context Context under which the email was tested, or null for the initial call.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether an email address is valid.

This filter is evaluated under several different contexts, such as 'local_invalid_chars', 'domain_no_periods', or no specific context. Filters registered on this hook perform the actual validation; the default filter is registered in default-filters.php.




Quellcode

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