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



sanitize_email › WordPress Filter Hooks

Seit2.8.0
Veraltetn/v
apply_filters( 'sanitize_email', '', $email, null )
Parameter: (3)
  • () sanitized_email The sanitized email address, or empty string.
    Erforderlich: Ja
  • () email The email address as provided to sanitize_email().
    Erforderlich: Ja
  • () context Validation context, or null for the initial call.
    Erforderlich: Ja
Definiert in:
Codex:

Filters a sanitized email address.

Filters registered on this hook perform the actual validation and return the canonical email string on success or an empty string on failure. The default filter is registered in default-filters.php.




Quellcode

return apply_filters( 'sanitize_email', '', $email, null );