field = $field;
$this->value = $value;
$this->args = $parent->args;
}
/**
* Field Render Function.
*
* Takes the vars and outputs the HTML for the field in the settings
*
* @since Vision_Options 1.0.0
*/
function render() {
$name = $this->args['opt_name'] . '[' . $this->field['id'] . ']';
$id = $this->field['id'];
$desc = isset($this->field['desc']) ? $this->field['desc'] : '';
$class = isset($this->field['class']) ? $this->field['class'] : '';
$switch = isset($this->field['switch']) ? $this->field['switch'] : false;
?>