LLMS_Form_Field::__construct( array $settings = array(), int|object $data_source = null )
Constructor
Description Description
Parameters Parameters
- $settings
-
(Optional) Field settings.
Default value: array()
- $data_source
-
(Optional) Data source where to get field value from. Default is
null
. Can be a WP_User or a WP_Post, or their id. The actual object will be retrieved basing on the data_store.Default value: null
Return Return
(void)
Source Source
File: includes/forms/class-llms-form-field.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |