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".


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/forms/class-llms-form-field.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.