AnsPress_Form::desc()
Description #
Output description of a form fields.
Source #
File: includes/class/form.php
private function desc() { if ( ! $this->field['show_desc_tip'] ) { $this->output .= ( ! empty( $this->field['desc'] ) ? '<p class="ap-field-desc">' . $this->field['desc'] . '</p>' : ''); } else { $this->output .= ( ! empty( $this->field['desc'] ) ? '<span class="ap-tip ap-field-desc" data-tipposition="right" title="' . esc_html( $this->field['desc'] ) . '">?</span>' : ''); } }
Expand full source code Collapse full source code View on GitHub: includes/class/form.php:259
Add your comment