Form::have_errors()

Description #

Check if form have any error.

Source #

File: lib/class-form.php

	public function have_errors() {
		return ! empty( $this->errors ) && is_array( $this->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