LLMS_Form_Field::prepare_options( array $raw )
Prepare the fields options.
Description Description
Allows options to be setup as an associative array of key/value pairs or an array of associative arrays each with a "label" and "key" property. The "key" property may be omitted, in which case the "label" will be duplicated as the option’s "value".
Parameters Parameters
- $raw
-
(Required) Raw field data.
Return Return
(array)
Source Source
File: includes/forms/class-llms-form-field.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |