New answers tagged validation
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 value of FALSE. $instance['email'] = is_email($new_instance['email']); //with a ...
Answer here: http://stackoverflow.com/questions/7878279/how-to-debug-save-post-actions-in-wordpress using die(print_r($_POST));
Top 50 recent answers are included