AnsPress_Form::error_messages()
Description #
Source #
File: includes/class/form.php
private function error_messages() { if ( isset( $this->errors[$this->field['name']] ) ) { $this->output .= '<div class="ap-form-error-messages">'; foreach ( $this->errors[$this->field['name']] as $error ) { $this->output .= '<p class="ap-form-error-message">'. $error .'</p>'; } $this->output .= '</div>'; } }
Expand full source code Collapse full source code View on GitHub: includes/class/form.php:584
Add your comment