AnsPress_Form::order_fields()

Description #

Order fields.

Changelog #

VersionDescription
2.0.1Introduced.

Source #

File: includes/class/form.php

	private function order_fields() {
		if ( ! isset( $this->args['fields'] ) ) {
			return;
		}

		$this->args['fields'] = ap_sort_array_by_order( $this->args['fields'] );
	}

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