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() { $class = (isset($this->field['class'])) ? $this->field['class'] : 'regular-text'; echo '
'; foreach($this->field['options'] as $k => $v) { $this->value[$k] = (isset($this->value[$k])) ? $this->value[$k] : ''; echo '
'; } echo (isset($this->field['desc']) && !empty($this->field['desc'])) ? '' . $this->field['desc'] . '' : ''; echo '
'; } }