AnsPress_Validation::is_email( string $field )
Description #
Parameters #
- $fieldstring (Required)
Source #
File: includes/class/validation.php
private function is_email($field) { $email = is_email( $this->fields[$field] ); if ( ! $email ) { $this->errors[$field] = __( 'Not a valid email address', 'anspress-question-answer' ); } else { $this->fields[$field] = $email; } }
Expand full source code Collapse full source code View on GitHub: includes/class/validation.php:133
Add your comment