LLMS_Forms::convert_settings_to_block_attrs( array $settings )
Converts an array of LLMS_Form_Field settings to a block attributes array
Parameters Parameters
- $settings
-
(array) (Required) An array of LLMS_Form_Field settings.
Return Return
(array) An array of WP_Block attributes.
Source Source
File: includes/forms/class-llms-forms.php
public function convert_settings_to_block_attrs( $settings ) {
return $this->convert_settings_format( $settings, 'field' );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |