You will want to use sanitize_email();
as follows:
return( sanitize_email( $email ) );
Here is the Codex link so you have it: http://codex.wordpress.org/Function_Reference/sanitize_email
Cheers!
You will want to use sanitize_email();
as follows:
return( sanitize_email( $email ) );
Here is the Codex link so you have it: http://codex.wordpress.org/Function_Reference/sanitize_email
Cheers!