src/Elements/Parents/Field.php
protected function cleanValue($value)
	{
		if (is_array($value)) {
			return array_map(function ($v) {
				return $this->cleanValue($v);
			}, $value);
		} else {
			return stripslashes($value);
		}
	}
protected function cleanValue($value)
	{
		if (is_array($value)) {
			return array_map(function ($v) {
				return $this->cleanValue($v);
			}, $value);
		} else {
			return stripslashes($value);
		}
	}
protected function cleanValue ( $ value ) { if ( is_array ( $ value ) ) { return array_map ( function ( $ v ) { return $ this -> cleanValue ( $ v ) ; } , $ value ) ; } else { return stripslashes ( $ value ) ; } }
Clean a value up for repopulation in a form field
@param  mixed $value String or array
@return mixed
Clean a value up for repopulation in a form field