Used By
Used By | Description |
---|---|
wp-includes/formatting.php: is_email() | Verifies that an email is valid. |
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.
(string|false) The email address if successfully passed the is_email() checks, false otherwise.
(string) The email address being checked.
(string) Context under which the email was tested.
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/is_email