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.


Top ↑

Return Return

(array)


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.