AnsPress_Validation::__construct( array $args = array() )

Description #

Initialize the class

Parameters #

  • $args
    array (Optional) Default value: array()

Source #

File: includes/class/validation.php

	public function __construct($args = array()) {

		if ( empty( $args ) ) {
			return;
		}

		$this->args = $args;

		$this->name_to_key();
		$this->fields_to_include();
		$this->actions();
	}

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