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']:''; //echo ''; $settings = array( 'textarea_name' => $this->args['opt_name'].'['.$this->field['id'].']', 'editor_class' => $class ); wp_editor($this->value, $this->field['id'], $settings ); echo (isset($this->field['desc']) && !empty($this->field['desc']))?'
'.$this->field['desc'].'':''; }//function }//class ?>