LLMS_Form_Field::get_option_list_html( array $options, mixed $selected_val )
Retrieve the HTML for an options list in a select field.
Description Description
This function works recursively to build optgroups.
Parameters Parameters
- $options
-
(Required) Prepared options array.
- $selected_val
-
(Required) The value of the option that should be marked as "selected".
Return Return
(string)
Source Source
File: includes/forms/class-llms-form-field.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |