LLMS_Form_Field::get_options_html()
Retrieve the html for all options in a select field.
Return Return
(string)
Source Source
File: includes/forms/class-llms-form-field.php
protected function get_options_html() {
$html = '';
if ( ! $this->settings['options'] ) {
return $html;
}
$selected_val = ! empty( $this->settings['value'] ) ? $this->settings['value'] : $this->settings['default'];
$html .= $this->get_option_list_html( $this->settings['options'], $selected_val );
return $html;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |