string $sanitized_email, string $email, string|null $message )
Filters a sanitized email address.
This filter is evaluated under several contexts, including ’email_too_short’, ’email_no_at’, ‘local_invalid_chars’, ‘domain_period_sequence’, ‘domain_period_limits’, ‘domain_no_periods’, ‘domain_no_valid_subs’, or no context.
The sanitized email address.
The email address, as provided to sanitize_email() .
More Arguments from sanitize_email( ... $email )Email address to filter.
A message to pass to the user. null if email is sanitized.
View all references
return apply_filters( 'sanitize_email', '', $email, 'email_too_short' );