sections, $parent->args, $parent->extra_tabs); $this->field = $field; $this->value = $value; //$this->render(); }//function /** * Field Render Function. * * Takes the vars and outputs the HTML for the field in the settings * * @since NHP_Options 1.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 '
'; }//foreach echo (isset($this->field['desc']) && !empty($this->field['desc']))?''.$this->field['desc'].'':''; echo '
'; }//function }//class ?>