Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

MP_AbandonedFields::check_reject_file_exist()

Add reject file.

Contents


Source Source

File: mortgage-platform/Inc/MP_AbandonedFields.php

	private function check_reject_file_exist() {
		$value = array();

		$input = $this->get_form_info();
		$index = 0;
		foreach ( $input as $arr ) {
			$value[ $index ][0] = $arr[0]; // Name
			$value[ $index ][1] = 0; // Reject Counter
			$value[ $index ][2] = ''; // Title
			$index++;
		}

		if ( '' === get_option( $this->input_reject ) ) {
			update_option( $this->input_reject, $value );

		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.