AnsPress_Validation::append_errors( string $field, string $errors )

Description #

Append error to a field

Parameters #

  • $field
    string (Required) field name.
  • $errors
    string (Required) Error message.

Source #

File: includes/class/validation.php

	private function append_errors($field, $errors) {
		$this->errors[$field] = $errors;
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment