Title: validate_email
Last modified: August 19, 2016

---

# validate_email

 *  [roscoek](https://wordpress.org/support/users/roscoek/)
 * (@roscoek)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/validate_email/)
 * This has got to be so simple but I can’t find it. I read that WordPress has a
   function to validate email format. I entered it in my code and error returns 
   it does not recognize the function. Where can I find the function so I can require_once
   or whatever to use it. Thanks

Viewing 1 replies (of 1 total)

 *  [Michael Fields](https://wordpress.org/support/users/mfields/)
 * (@mfields)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/validate_email/#post-1240579)
 * sanitize_email() is defined on line 1558 of /wp-includes/formatting.php

Viewing 1 replies (of 1 total)

The topic ‘validate_email’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Michael Fields](https://wordpress.org/support/users/mfields/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/validate_email/#post-1240579)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
