Sanitizing and validating email field
According to the documentation, is_email() is used to validate an email and either returns the email if it is valid or false if it isn’t. So are using it correctly. The only thing I can see in your code is that if the email is not valid, you are settings the data to a boolean … Read more