LLMS_Forms::install( bool $recreate = false )
Installation function to install core forms.
Parameters Parameters
- $recreate
-
(bool) (Optional) Whether or not to recreate an existing form. This is passed to
LLMS_Forms::create().Default value: false
Return Return
(WP_Post[]) Array of created posts. Array key is the location id and array value is the WP_Post object.
Source Source
File: includes/forms/class-llms-forms.php
* Loads reusable blocks into a block list.
*
* A reusable block contains a reference to the block post, e.g. `<!-- wp:block {"ref":2198} /-->`,
* which will be loaded during rendering.
*
* Dereferencing the reusable blocks allows the entire block list to be reviewed and to validate all form fields.
* This function will replace each reusable block with the parsed blocks from its reference post.
*
* @since 5.0.0
* @since 5.1.0 Access turned to public.
*
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |