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_Form_Templates::get_confirm_group_controller( array $block )
Creates a WP_Block array definition for the primary (controller) block in a confirm group
Parameters Parameters
- $block
-
(array) (Required) A WP_Block definition array for the primary/default block in the group.
Return Return
(array) A new WP_Block definition array for the controller block.
Source Source
File: includes/forms/class-llms-form-templates.php
'isConfirmationControlField' => true, 'llms_visibility' => 'off', 'match' => $block['attrs']['id'] . '_confirm', ), $block['attrs'] ); return $block; } /** * Retrieves legacy option's value for a given field and location * * @since 5.0.0 * * @param string $field_id The field's identifier as found in the block schema list returned by LLMS_Form_Templates::get_reusable_block_schema().
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |