Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Forms::convert_settings_format( array $map, string $orignal_format )
Converts field settings formats
Description Description
There are small differences between the LLMS_Form_Fields settings array and the WP_Block settings array.
This method accepts an associative array in one format or the other and converts it from the original format to the opposite format.
Parameters Parameters
- $map
-
(Required) Associative array of settings.
- $orignal_format
-
(Required) The original format of the submitted
$map
. Either "field" for an array of LLMS_Form_Field settings orblock
for an array of WP_Block attributes.
Return Return
([type]) [description]
Source Source
File: includes/forms/class-llms-forms.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |