AnsPress_Form::label()
Description #
Form field label.
Source #
File: includes/class/form.php
private function label() { if ( $this->field['label'] && ! $this->field['show_desc_tip'] ) { $this->output .= '<label class="ap-form-label" for="'. @$this->field['name'] .'">'. @$this->field['label'].'</label>'; } elseif ( $this->field['label'] ) { $this->output .= '<label class="ap-form-label" for="'. @$this->field['name'] .'">'. @$this->field['label']; $this->desc(); $this->output .= '</label>'; } }
Expand full source code Collapse full source code View on GitHub: includes/class/form.php:233
Add your comment