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


Top ↑

Return Return

(void)


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.