Form::get_values()

Description #

Get all values of fields.

Changelog #

VersionDescription
4.1.5Return values even if there are errors.
4.1.0Introduced.

Source #

File: lib/class-form.php

	public function get_values() {
		if ( ! is_null( $this->values ) ) {
			return $this->values;
		}

		$this->values = $this->field_values();
		return $this->values;
	}

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