AnsPress_Validation::have_error()

Description #

Check if fields have any error

Changelog #

VersionDescription
2.0.1Introduced.

Source #

File: includes/class/validation.php

	public function have_error() {
		if ( count( $this->errors ) > 0 ) {
			return true; }

		return false;
	}

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