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
575 576 577 578 579 580 581 582 583 584 585 586 587 588 | 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. |